A135797 Numbers of the form x^4 + 6*x^2*y^2 + y^4 (where x,y are positive integers).
8, 41, 128, 136, 313, 353, 648, 656, 776, 1201, 1241, 1513, 2048, 2056, 2176, 2696, 3281, 3321, 3593, 4481, 5000, 5008, 5128, 5648, 7048, 7321, 7361, 7633, 8521
Offset: 1
Crossrefs
Programs
-
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 *)
Comments