OFFSET
1,1
COMMENTS
Numbers of the form (x+y)(x^2+y^2), where x and y are positive integers. - Chai Wah Wu, Aug 08 2020
No terms == 2 (mod 4). - Robert Israel, Sep 21 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
4=1^3+1^2*1+1*1^2+1^3, 15=1^3+1^2*2+1*2^2+2^3, 32=2^3+2^2*2+2*2^2+2^3, ...
MAPLE
N:= 10000: # for terms <= N
S:= {}:
for x from 1 while (x+1)*(x^2+1) < N do
V:= select(`<=`, map(y -> (x+y)*(x^2+y^2), {seq(i, i=1..min(x, (N-x^3)/x^2))}), N);
S:= S union V;
od:
sort(convert(S, list)); # Robert Israel, Sep 21 2020
MATHEMATICA
max = 5000; T0 = {}; xm = Ceiling[Sqrt[max]]; While[T = T0;
T0 = Table[x^3 + x^2 y + x y^2 + y^3, {x, 1, xm}, {y, x, xm}] //
Flatten // Union // Select[#, # <= max &] &; T != T0, xm = 2 xm];
T
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
César Eliud Lozada, Jul 27 2020
STATUS
approved