Results 1 to 3 of 3
- 01-26-2011, 08:43 PM #1
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
- 01-26-2011, 09:07 PM #2
Moderator
- Join Date
- Feb 2009
- Location
- New Zealand
- Posts
- 4,561
- Rep Power
- 11
Roughly speaking n(n+1) will have twice as many digits as n and the resulting exponential growth of the digit length of n! is going to be a problem sooner or later.
Perhaps some number theory is called for.
Some people make a distinction between digit sums and reduced digit sums (ie 456->15 vs 456->6): which do you mean?
[Edit] The question was to find the digit sum of 50000!Last edited by pbrockway2; 01-26-2011 at 10:55 PM.
- 01-26-2011, 10:00 PM #3
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Similar Threads
-
Getting rid of commas in large numbers?
By wwuster in forum Advanced JavaReplies: 12Last Post: 03-05-2012, 10:35 AM -
inputting large numbers into java
By imorio in forum New To JavaReplies: 9Last Post: 12-26-2010, 01:59 PM -
Math problem Sum of a hundred 50 digit numbers.
By AcousticBruce in forum New To JavaReplies: 13Last Post: 12-19-2010, 01:36 PM -
crunching large numbers
By aaroncarpet in forum Advanced JavaReplies: 26Last Post: 11-30-2009, 02:10 AM -
Crunching large numbers part II
By aaroncarpet in forum Advanced JavaReplies: 0Last Post: 11-28-2009, 05:34 AM


LinkBack URL
About LinkBacks

Bookmarks