You are viewing a single comment's thread. Return to all comments →
#python for x in range(int(input())): print(sum([int(x) for x in str(2**int(input()))]))
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #16: Power digit sum
You are viewing a single comment's thread. Return to all comments →