I think the statement of this problem is wrong
its says for n >= 1, an is the sum of the digits of all preceding terms.
so for n = 6 its should be 1+1+2+4+8+16 = 32 but the result example says 23 and going on the next value should be 64 but the problem says that is 38
i dont know if its an error in the statement or in the solutions value, also the result for n = 10^15 its a little big for get the result
Problem 551
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
- bruce_love
- Administrator
- Posts: 3541
- Joined: Sat Sep 24, 2011 11:59 am