OFFSET
1,1
COMMENTS
Squares of these numbers are of the form N^4-M^2 (where N belongs to A135786 and M to A135796). Proof uses: (x^4+6*x^2*y^2+y^4)^2 = (x^2-y^2)^4+(4*x^3*y+4*x*y^3)^2.
Refers to A057102, which had an incorrect description and has been replaced by A256418. As a result the present sequence should be re-checked. - N. J. A. Sloane, Apr 06 2015
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 40000: # for terms <= N
S:= {}:
for x from 1 while x^4 + 6*x^2 + 1 <= N do
for y from 1 do
v:= x^4 + 6*x^2*y^2 + y^4;
if v > N then break fi;
S:= S union {v}
od od:
sort(convert(S, list)); # Robert Israel, Mar 02 2026
MATHEMATICA
a = {}; Do[Do[w = x^4 + 6x^2 y^2 + y^4; If[w < 10000, AppendTo[a, w]], {x, y, 1000}], {y, 1, 1000}]; Union[a]
(* alternate program *)
Union[Select[#[[1]]^4+6#[[1]]^2 #[[2]]^2+#[[2]]^4&/@Tuples[Range[ 1000], 2], #<10000&]] (* Harvey P. Dale, Oct 07 2012 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Nov 29 2007
EXTENSIONS
More terms from Robert Israel, Mar 02 2026
STATUS
approved
