Hacker News new | ask | show | jobs
by lapetitejort 420 days ago
That is correct. I use pseudo-binary to represent the steps the number takes. Simply counting the number of steps is enough to get n, as all steps will have an implicit or explicit even step.