A129491 Digital sum of the 2^n-th partition number.
1, 2, 5, 4, 6, 24, 22, 34, 83, 120, 152, 145, 286, 477, 561, 796, 1271, 1639, 2471, 3598, 5114, 7221, 10283, 14315, 20585, 29110, 40890, 58834, 82319, 115690, 164128, 232044, 328463, 462853, 657811, 927235, 1311605, 1855787, 2629927, 3708205
Offset: 0
Examples
a(9) = 120 since P(2^9) = 4453575699570940947378 and 4+4+5+3+5+7+5+6+9+9+5+7+0+9+4+0+9+4+7+3+7+8 = 120.
Programs
-
Mathematica
f[n_] := Plus @@ IntegerDigits @PartitionsP[2^n]; Table[ f@n, {n, 0, 42}]
Extensions
Offset corrected by Alois P. Heinz, Sep 20 2024
Comments