[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A248733
Number of digits in the decimal expansion of the number of partitions of 6^n.
6
1, 2, 5, 14, 37, 94, 236, 584, 1437, 3529, 8654, 21210, 51966, 127302, 311840, 763864, 1871094, 4583243
OFFSET
0,2
FORMULA
A248733 = A055642 o A000041 o A000400. \\ M. F. Hasler, Oct 16 2014
MATHEMATICA
f[n_] := Floor[ Log[10, PartitionsP[ 6^n]] + 1]; Table[ f@n, {n, 0, 17}]
PROG
(Magma) [Floor(Log(10, (NumberOfPartitions(6^n))))+1: n in [0..7]]; // Vincenzo Librandi, Oct 13 2014
(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
KEYWORD
nonn,base,more
AUTHOR
Robert G. Wilson v, Oct 12 2014
STATUS
approved