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

A078879
Triangle read by rows: T(n,k) = ceiling(k^2 / n), 0 < k <= n.
0
0, 1, 0, 1, 2, 0, 1, 1, 3, 0, 1, 1, 2, 4, 0, 1, 1, 2, 3, 5, 0, 1, 1, 2, 3, 4, 6, 0, 1, 1, 2, 2, 4, 5, 7, 0, 1, 1, 1, 2, 3, 4, 6, 8, 0, 1, 1, 1, 2, 3, 4, 5, 7, 9, 0, 1, 1, 1, 2, 3, 4, 5, 6, 8, 10, 0, 1, 1, 1, 2, 3, 3, 5, 6, 7, 9, 11, 0, 1, 1, 1, 2, 2, 3, 4, 5, 7, 8, 10, 12, 0, 1, 1, 1, 2, 2, 3, 4, 5, 6, 8, 9, 11
OFFSET
1,5
EXAMPLE
0;
1, 0;
1, 2, 0;
1, 1, 3, 0;
1, 1, 2, 4, 0;
...
PROG
(PARI) {T(n, k) = if( n<1 || k>=n, 0, ceil(k^2 / n))}
CROSSREFS
Rows sums is A014811.
Sequence in context: A286471 A176079 A067586 * A082859 A083537 A231353
KEYWORD
easy,nonn,tabl
AUTHOR
Michael Somos, Dec 13 2002
STATUS
approved