Problem 20 vague
Posted: Fri Aug 29, 2008 2:12 am
Okay I'm confused and it seems over 10,000 people weren't so any input would be appreciated.
Problem 20 states to find the "sum of the digits in 100", which would seem to be 1+0+0 = 1. This isn't right. The example shows n! = ... so I tried putting in the answer for 100!, but the answer box doesn't provide CLOSE to enough digits. And besides, that's products, not sum. So I tried doing a factorial but with addition instead of multiplication, but that didn't work either.
I'm obviously missing something. A hint in the correct direction would be wonderful.
Thanks,
D
PS - This is my second or third day on Project Euler and I'm hooked!
Problem 20 states to find the "sum of the digits in 100", which would seem to be 1+0+0 = 1. This isn't right. The example shows n! = ... so I tried putting in the answer for 100!, but the answer box doesn't provide CLOSE to enough digits. And besides, that's products, not sum. So I tried doing a factorial but with addition instead of multiplication, but that didn't work either.
I'm obviously missing something. A hint in the correct direction would be wonderful.
Thanks,
D
PS - This is my second or third day on Project Euler and I'm hooked!