Link Details

Link 899569 thumbnail
User 1059809 avatar

By egregory
via architects.dzone.com
Published: Jan 02 2013 / 09:39

My youngest daughter asked me this morning whether you can find the number 2013 in the digits of pi. I said it must be possible, then wrote the following Python code to find where 2013 first appears.
  • 5
  • 0
  • 606
  • 998

Comments

Add your comment
User 202710 avatar

wytten replied ago:

-1 votes Vote down Vote up Reply

Cool article...Through it I've discovered the author Martin Gardner and now have plenty of reading to do :)

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java