Project Euler : Sum of digits in 2^1000