Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #13 May 28 2024 18:28:52
%S 0,1,0,8,7,4,27,26,23,18,11,2,64,63,60,55,48,39,28,15,0,125,124,121,
%T 116,109,100,89,76,61,44,25,4,216,215,212,207,200,191,180,167,152,135,
%U 116,95,72,47,20,343,342,339,334,327,318,307,294,279,262,243,222,199,174
%N Irregular triangle read by rows: T(n,k) = n^3 - k^2 with 0 <= k <= A077121(n).
%H Reinhard Zumkeller, <a href="/A167222/b167222.txt">Table of n, a(n) for n = 0..9999</a>
%e Triangle begins:
%e 0;
%e 1, 0;
%e 8, 7, 4;
%e 27, 26, 23, 18, 11, 2;
%e 64, 63, 60, 55, 48, 39, 28, 15, 0;
%e 125, 124, 121, 116, 109, 100, 89, 76, 61, 44, 25, 4;
%e 216, 215, 212, 207, 200, 191, 180, 167, 152, 135, 116, 95, 72, 47, 20;
%e ...
%o (PARI) row(n) = my(c=n^3); vector(1+sqrtint(c), i, c-(i-1)^2); \\ _Michel Marcus_, May 28 2024
%Y Cf. A000290, A000578, A077121.
%Y For primes see A167224.
%K nonn,tabf,look
%O 0,4
%A _Reinhard Zumkeller_, Oct 31 2009