login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A196879 Square array A(n,k), n>=0, k>=0, read by antidiagonals: A(n,k) is the number of partitions of n^k into powers of k. 20

%I #20 Oct 04 2018 19:49:40

%S 1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,3,10,1,1,1,1,6,23,36,1,1,1,1,9,72,

%T 132,94,1,1,1,1,16,335,1086,729,284,1,1,1,1,36,2220,15265,15076,3987,

%U 692,1,1,1,1,85,19166,374160,642457,182832,18687,1828,1,1

%N Square array A(n,k), n>=0, k>=0, read by antidiagonals: A(n,k) is the number of partitions of n^k into powers of k.

%H Alois P. Heinz, <a href="/A196879/b196879.txt">Antidiagonals n = 0..44, flattened</a>

%F For k>1: A(n,k) = [x^(n^k)] 1/Product_{j>=0}(1-x^(k^j)).

%e A(2,3) = 3, because the number of partitions of 2^3=8 into powers of 3 is 3: [1,1,3,3], [1,1,1,1,1,3], [1,1,1,1,1,1,1,1].

%e Square array A(n,k) begins:

%e 1, 1, 1, 1, 1, 1, ...

%e 1, 1, 1, 1, 1, 1, ...

%e 1, 1, 4, 3, 6, 9, ...

%e 1, 1, 10, 23, 72, 335, ...

%e 1, 1, 36, 132, 1086, 15265, ...

%e 1, 1, 94, 729, 15076, 642457, ...

%p b:= proc(n, j, k) local nn, r;

%p if n<0 then 0

%p elif j=0 then 1

%p elif j=1 then n+1

%p elif n<j then b(n, j, k):= b(n-1, j, k) +b(k*n, j-1, k)

%p else nn:= 1 +floor(n);

%p r:= n-nn;

%p (nn-j) *binomial(nn, j) *add(binomial(j, h)

%p /(nn-j+h) *b(j-h+r, j, k) *(-1)^h, h=0..j-1)

%p fi

%p end:

%p A:= proc(n, k) local s, t;

%p if k<2 then return 1 fi;

%p s:= floor(n^k/k);

%p t:= ilog[k](k*s+1);

%p b(s/k^(t-1), t, k)

%p end:

%p seq(seq(A(n, d-n), n=0..d), d=0..15);

%t a[_, 0] = a[_, 1] = a[0, _] = a[1, _] = 1; a[n_, k_] := SeriesCoefficient[ 1/Product[ (1 - x^(k^j)), {j, 0, n}], {x, 0, n^k}]; Table[a[n - k, k], {n, 0, 10}, {k, n, 0, -1}] // Flatten (* _Jean-François Alcover_, Dec 09 2013 *)

%Y Columns k=0+1, 2-10 give: A000012, A196880, A196881, A196882, A196883, A196884, A196885, A196886, A196887, A196888.

%Y Rows n=0+1, 2-10 give: A000012, A196889, A196890, A196891, A196892, A196893, A196894, A196895, A196896, A196897.

%Y Main diagonal gives: A145514.

%Y Cf. A145515.

%K nonn,tabl

%O 0,13

%A _Alois P. Heinz_, Oct 07 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 12:44 EDT 2024. Contains 371913 sequences. (Running on oeis4.)