#16: Power digit sum | Ben Cunningham

# #16: Power digit sum

Problem by Project Euler · on May 3, 2002

$2^{15} = 32768$ and the sum of its digits is $3 + 2 + 7 + 6 + 8 = 26$.

What is the sum of the digits of the number $2^{1000}$?

# Python

import functools
import operator

def v_sum(x):
if len(x) < 1:
return 0

## 1366