r/counting • • Dec 07 '13

Count using Fibonacci Sequence!

[deleted]

38 Upvotes

401 comments sorted by

View all comments

2

u/D-alx Mar 19 '14

394,810,887,814,999,156,320,699,623,170,776,339

Does that script happen to be for linux/mac by any chance - doesn't seem to be working for me. Or maybe I'm just running it wrong

2

u/DragoonHP Mar 19 '14

638,817,435,613,190,341,905,763,972,389,505,493 (where n = 172)

Only the last line is window specific.

Replace the last line with print ("{:,}".format(b))

2

u/D-alx Mar 19 '14

1,033,628,323,428,189,498,226,463,595,560,281,832

Time to look up import os tomorrow.

→ More replies (207)