login
A167222
Irregular triangle read by rows: T(n,k) = n^3 - k^2 with 0 <= k <= A077121(n).
5
0, 1, 0, 8, 7, 4, 27, 26, 23, 18, 11, 2, 64, 63, 60, 55, 48, 39, 28, 15, 0, 125, 124, 121, 116, 109, 100, 89, 76, 61, 44, 25, 4, 216, 215, 212, 207, 200, 191, 180, 167, 152, 135, 116, 95, 72, 47, 20, 343, 342, 339, 334, 327, 318, 307, 294, 279, 262, 243, 222, 199, 174
OFFSET
0,4
LINKS
EXAMPLE
Triangle begins:
0;
1, 0;
8, 7, 4;
27, 26, 23, 18, 11, 2;
64, 63, 60, 55, 48, 39, 28, 15, 0;
125, 124, 121, 116, 109, 100, 89, 76, 61, 44, 25, 4;
216, 215, 212, 207, 200, 191, 180, 167, 152, 135, 116, 95, 72, 47, 20;
...
PROG
(PARI) row(n) = my(c=n^3); vector(1+sqrtint(c), i, c-(i-1)^2); \\ Michel Marcus, May 28 2024
CROSSREFS
For primes see A167224.
Sequence in context: A019870 A019903 A327340 * A076417 A114137 A185346
KEYWORD
nonn,tabf,look
AUTHOR
Reinhard Zumkeller, Oct 31 2009
STATUS
approved