Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm...

Convert to binary, take (approximate) log2 of the number, divide by three, take 2 to the power of ans?

(Binary both because most programmers know powers of two, and because you are more accurate when you know the closest power of two to something than the closest power of 10)

Even just approximating log2(270119) as 18 gives you an answer of 64.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: