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!)
A364891 Triangle read by rows: T(n,k) = (-1)^(k-1)*Sum_{j=0..k-1} (-1)^j*(p(n - j*(2*j + 1)) - p(n - (j + 1)*(2*j + 1))), where p(n) = A000041(n) is the number of partitions of n, and 1 <= k <= n. 3
0, 1, -1, 1, 0, 0, 2, -1, 1, -1, 2, 0, 0, 0, 0, 4, -2, 2, -2, 2, -2, 4, 0, 0, 0, 0, 0, 0, 7, -2, 2, -2, 2, -2, 2, -2, 8, 0, 0, 0, 0, 0, 0, 0, 0, 12, -2, 3, -3, 3, -3, 3, -3, 3, -3, 14, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, -2, 4, -4, 4, -4, 4, -4, 4, -4, 4, -4 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
K. Banerjee and M. G. Dastidar, Inequalities for the partition function arising from truncated theta series, RISC Report Series No. 22-20, 2023. See Corollary 1.4 at p. 2.
FORMULA
1st column: T(n,1) = A002865(n) for n > 0.
abs(T(n,n)) = A035457(n).
EXAMPLE
The triangle begins:
0;
1, -1;
1, 0, 0;
2, -1, 1, -1;
2, 0, 0, 0, 0;
4, -2, 2, -2, 2, -2;
4, 0, 0, 0, 0, 0, 0;
7, -2, 2, -2, 2, -2, 2, -2;
8, 0, 0, 0, 0, 0, 0, 0, 0;
12, -2, 3, -3, 3, -3, 3, -3, 3, -3;
14, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0;
...
MATHEMATICA
T[n_, k_]:=(-1)^(k-1)*Sum[(-1)^j*(PartitionsP[n-j(2j+1)]-PartitionsP[n-(j+1)(2j+1)]), {j, 0, k-1}]; Flatten[Table[T[n, k], {n, 1, 12}, {k, 1, n}]]
CROSSREFS
Sequence in context: A016541 A230453 A098876 * A143277 A292378 A320835
KEYWORD
sign,tabl
AUTHOR
Stefano Spezia, Aug 12 2023
STATUS
approved

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 July 17 04:55 EDT 2024. Contains 374360 sequences. (Running on oeis4.)