HackerTrans
TopNewTrendsCommentsPastAskShowJobs

siegelzero

no profile record

comments

siegelzero
·8 tháng trước·discuss
Very cool! There's definitely some similarity to Ramanujan Sums, though the approach here sort of packages the fizz-buzz divisibility properties into one function. https://en.wikipedia.org/wiki/Ramanujan%27s_sum
siegelzero
·10 tháng trước·discuss
Yes you're right it's typically stated as "shaves all those, and those only, who do not..." https://en.wikipedia.org/wiki/Barber_paradox
siegelzero
·2 năm trước·discuss
I can recommend the book Guide to Graph Colouring: Algorithms and Applications by Lewis. It covers techniques including some state of the art methods for getting good but not provably optimal colorings. It discusses in depth local search and hybrid evolutionary algorithms, which tend to be the best performing on academic benchmarks (DIMACS graphs and large random graphs).