This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A167222 #13 May 28 2024 18:28:52 %S A167222 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 A167222 116,109,100,89,76,61,44,25,4,216,215,212,207,200,191,180,167,152,135, %U A167222 116,95,72,47,20,343,342,339,334,327,318,307,294,279,262,243,222,199,174 %N A167222 Irregular triangle read by rows: T(n,k) = n^3 - k^2 with 0 <= k <= A077121(n). %H A167222 Reinhard Zumkeller, <a href="/A167222/b167222.txt">Table of n, a(n) for n = 0..9999</a> %e A167222 Triangle begins: %e A167222 0; %e A167222 1, 0; %e A167222 8, 7, 4; %e A167222 27, 26, 23, 18, 11, 2; %e A167222 64, 63, 60, 55, 48, 39, 28, 15, 0; %e A167222 125, 124, 121, 116, 109, 100, 89, 76, 61, 44, 25, 4; %e A167222 216, 215, 212, 207, 200, 191, 180, 167, 152, 135, 116, 95, 72, 47, 20; %e A167222 ... %o A167222 (PARI) row(n) = my(c=n^3); vector(1+sqrtint(c), i, c-(i-1)^2); \\ _Michel Marcus_, May 28 2024 %Y A167222 Cf. A000290, A000578, A077121. %Y A167222 For primes see A167224. %K A167222 nonn,tabf,look %O A167222 0,4 %A A167222 _Reinhard Zumkeller_, Oct 31 2009