Hacker News new | past | comments | ask | show | jobs | submit login

If you take the 52 out of the sum, it becomes:

52 * (1/1 + 1/2 + 1/3... +1/n), where n=52. This is the harmonic series. I didn't know off-hand of a formula for the sum of the harmonic series, so I searched, and apparently, there is no closed form formula for this. So you either have to actually calculate this number, or find an approximation.

Personally, I just plugged it into Wolfram alpha: http://www.wolframalpha.com/input/?i=1%2F1+%2B+1%2F2+%2B+.......

The result is, approximately, 4.538. And indeed, 4.538 * 52 = 235.976, which rounds down to 235 (not sure why the author rounded down).

Thanks for asking this!




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: