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

A285891
Triangle read by rows: T(n,k) = n*A237048(n,k).
10
1, 2, 3, 3, 4, 0, 5, 5, 6, 0, 6, 7, 7, 0, 8, 0, 0, 9, 9, 9, 10, 0, 0, 10, 11, 11, 0, 0, 12, 0, 12, 0, 13, 13, 0, 0, 14, 0, 0, 14, 15, 15, 15, 0, 15, 16, 0, 0, 0, 0, 17, 17, 0, 0, 0, 18, 0, 18, 18, 0, 19, 19, 0, 0, 0, 20, 0, 0, 0, 20, 21, 21, 21, 0, 0, 21, 22, 0, 0, 22, 0, 0, 23, 23, 0, 0, 0, 0, 24, 0, 24, 0, 0, 0
OFFSET
1,2
COMMENTS
Conjecture: T(n,k) = n, is also the sum of the parts of the partition of n into k consecutive parts, if such a partition exists, otherwise T(n,k) = 0.
EXAMPLE
Triangle begins:
1;
2;
3, 3;
4, 0;
5, 5;
6, 0, 6;
7, 7, 0;
8, 0, 0;
9, 9, 9;
10, 0, 0, 10;
11, 11, 0, 0;
12, 0, 12, 0;
13, 13, 0, 0;
14, 0, 0, 14;
15, 15, 15, 0, 15;
16, 0, 0, 0, 0;
17, 17, 0, 0, 0;
18, 0, 18, 18, 0;
19, 19, 0, 0, 0;
20, 0, 0, 0, 20;
21, 21, 21, 0, 0, 21;
22, 0, 0, 22, 0, 0;
23, 23, 0, 0, 0, 0;
24, 0, 24, 0, 0, 0;
25, 25, 0, 0, 25, 0;
26, 0, 0, 26, 0, 0;
27, 27, 27, 0, 0, 27;
28, 0, 0, 0, 0, 0, 28;
...
PROG
(PARI) t(n, k) = if (k % 2, (n % k) == 0, ((n - k/2) % k) == 0); \\ A237048
tabf(nn) = {for (n=1, nn, for (k=1, floor((sqrt(1+8*n)-1)/2), print1(n*t(n, k), ", "); ); print(); ); } \\ Michel Marcus, Nov 04 2019
CROSSREFS
Row sums give A245579.
Row n has length A003056(n).
Column k starts in row A000217(k).
The number of positive terms in row n is A001227(n), the number of partitions of n into consecutive parts.
Sequence in context: A012887 A177876 A079633 * A060573 A279086 A337307
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, May 02 2017
STATUS
approved