Word numbers: Billion approaches (2008)

19 pointsposted 5 months ago
by lupire

4 Comments

lupire

5 months ago

> If the integers from 1 to 999,999,999 are written as words, sorted alphabetically, and concatenated, what is the 51 billionth letter?

In a series of posts, mathematician Dylan Thurston and computer scientist / linguist Chung-chieh Shan solve this problem step by step, introducing concepts such as monoids and differentiation along the way, use the programming language Haskell.

Epilogue: Discussion with a representative from ITA Software, the creators of the problem: http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumber...

0x1ceb00da

5 months ago

> If the integers from 1 to 999,999,999 are written as words, sorted alphabetically, and concatenated, what is the 51 billionth letter?

Are we supposed to include spaces in this concatenated string?

shawn_w

5 months ago

The code in the linked article doesn't add spaces between words, so probably not.

danielam

5 months ago

I specifically remember this problem from ITA's advertisements on the MBTA.