A248735 Number of digits in the decimal expansion of the number of partitions of 7^n.
1, 2, 6, 18, 51, 140, 377, 1005, 2668, 7069, 18714, 49527, 131052, 346746, 917422, 2427289
Offset: 0
Programs
-
Magma
[Floor(Log(10,(NumberOfPartitions(7^n))))+1: n in [0..6]]; // Vincenzo Librandi, Oct 13 2014
-
Mathematica
f[n_] := Floor[ Log[10, PartitionsP[ 7^n]] + 1]; Table[ f@n, {n, 0, 15}] IntegerLength[PartitionsP[7^#]]&/@Range[0,15] (* Harvey P. Dale, Apr 27 2015 *)
-
PARI
a(n) = #Str(numbpart(7^n)); \\ Michel Marcus, Oct 16 2014