|
|
A257411
|
|
Values of n such that there are exactly 4 solutions to x^2 - y^2 = n with x > y >= 0.
|
|
10
|
|
|
96, 105, 120, 135, 160, 165, 168, 189, 195, 216, 224, 231, 255, 256, 264, 273, 280, 285, 297, 312, 345, 351, 352, 357, 375, 385, 399, 408, 416, 420, 429, 435, 440, 455, 456, 459, 465, 483, 512, 513, 520, 540, 544, 552, 555, 561, 595, 608, 609, 615, 616, 621
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
96 is in the sequence because there are 4 solutions to x^2 - y^2 = 96, namely (x,y) = (10,2), (11,5), (14,10), (25,23).
|
|
MATHEMATICA
|
nn = 1000;
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
|
|
|
|