A248733 Number of digits in the decimal expansion of the number of partitions of 6^n.
1, 2, 5, 14, 37, 94, 236, 584, 1437, 3529, 8654, 21210, 51966, 127302, 311840, 763864, 1871094, 4583243
Offset: 0
Programs
-
Magma
[Floor(Log(10,(NumberOfPartitions(6^n))))+1: n in [0..7]]; // Vincenzo Librandi, Oct 13 2014
-
Mathematica
f[n_] := Floor[ Log[10, PartitionsP[ 6^n]] + 1]; Table[ f@n, {n, 0, 17}]
-
PARI
a(n) = #Str(numbpart(6^n)); \\ Michel Marcus, Oct 16 2014
-
Python
from sympy import npartitions from gmpy2 import digits def A248733(n): return len(digits(npartitions(6**n))) # Chai Wah Wu, Jul 15 2024