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”).

A333048
Number of compositions of n^2 into powers of n.
1
1, 1, 6, 20, 96, 572, 3971, 31201, 272334, 2605268, 27042522, 302171806, 3611295430, 45911641817, 618074912240, 8776287336812, 130994094465946, 2049114914257540, 33504826964461451, 571285301051283841, 10136481840545237652, 186803012671904648805
OFFSET
0,3
LINKS
FORMULA
a(n) = 1 + Sum_{j=0..n} binomial(n*(n-j)+j,j) if n>1, a(0) = a(1) = 1.
EXAMPLE
a(0) = 1: the empty composition.
a(1) = 1: 1.
a(2) = 6: 1111, 112, 121, 211, 22, 4.
a(3) = 20: 111111111, 1111113, 1111131, 1111311, 1113111, 1131111, 1311111, 3111111, 11133, 11313, 11331, 13113, 13131, 13311, 31113, 31131, 31311, 33111, 333, 9.
MAPLE
a:= n-> `if`(n<2, 1, 1+add(binomial(n*(n-j)+j, j), j=0..n)):
seq(a(n), n=0..21);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Mar 06 2020
STATUS
approved