r/funny •

Pidgonacci Sequence

[deleted] — view deleted post

0 Upvotes

22k comments sorted by

View all comments

Show parent comment

3

u/Twisol Jun 09 '12

Keep it a string, add by digit, build up a string. The only scalable way I can think of.

1

u/YoureTheVest Jun 10 '12

No, use BigInteger. You can have arbitrary length integers.