|
|
A257412
|
|
Values of n such that there are exactly 5 solutions to x^2 - y^2 = n with x > y >= 0.
|
|
8
|
|
|
144, 192, 225, 320, 400, 405, 441, 448, 567, 648, 704, 784, 832, 891, 900, 1024, 1053, 1088, 1089, 1216, 1225, 1377, 1472, 1521, 1539, 1620, 1764, 1856, 1863, 1875, 1936, 1984, 2048, 2268, 2349, 2368, 2511, 2601, 2624, 2704, 2752, 2997, 3008, 3025, 3249
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
144 is in the sequence because there are 5 solutions to x^2 - y^2 = 144, namely (x,y) = (12,0), (13,5), (15,9), (20,16), (37,35).
|
|
MATHEMATICA
|
nn = 4000;
t = Table[0, {nn}];
Do[n = x^2 - y^2; If[n <= nn, t[[n]]++], {x, nn}, {y, 0, x - 1}];
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|