OFFSET
1,1
COMMENTS
Integers that are in the A352242 triangle.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
MAPLE
N:= 10^4: # for terms <= N
S:= {}:
for y from 1 while 3*y^2 + 3*y + 1 <= N do
for x from y+1 do
v:= (x-y)*(x^3-y^3);
if v > N then break fi;
S:= S union {v};
od; od:
sort(convert(S, list)); # Robert Israel, May 16 2024
PROG
(PARI) row(n) = vector(n-1, k, (n-k)*(n^3-k^3));
lista(nn) = {my(list = List(), n=2); while (3*n*(n-1)+1 <= nn, my(rown = row(n)); for (k=1, #rown, if (rown[k] <= nn, listput(list, rown[k]))); n++; ); Set(Vec(list)); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Mar 09 2022
STATUS
approved