I decided to solve FizzBuzz like a mathematician would aka the most obnoxious way I could imagine. This is my gift to you.https://gist.github.com/Gorcenski/f03c834696cb94768561283cfb9b82b2 …
I started from the fact that the problem is merely the fundamental theorem of finite abelian groups and then used the isomorphism to roots of unity, which manifests as polynomials, which I multiply by applying 1D finite convolutions
-
-
Thank you. /me queues up some reading
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.