• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.



Page history last edited by Kenneth Finnegan 11 years, 11 months ago

Project Euler Problem #34


The only trick for this problem is finding a upper bound.  9! = 362,880.  Multiply that by 7 gives 9!*7 = 2,540,160, where multiplying by 8 still only gives a 7 digit number, which shows that no number over 2,540,160 is going to possibly add up to itself.



Runtime: 0.476 seconds



Return to list of solutions

Comments (0)

You don't have permission to comment on this page.