|
|
A257414
|
|
Values of n such that there are exactly 7 solutions to x^2 - y^2 = n with x > y >= 0.
|
|
8
|
|
|
768, 1280, 1792, 2816, 3328, 3645, 4352, 4864, 5103, 5832, 5888, 7424, 7936, 8019, 9472, 9477, 10496, 11008, 12032, 12393, 13568, 13851, 14580, 15104, 15616, 16384, 16767, 17152, 18176, 18688, 20224, 20412, 21141, 21248, 22599, 22784, 24832, 25856, 26368
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
768 is in the sequence because there are 7 solutions to x^2 - y^2 = 768, namely (x,y) = (28,4), (32,16), (38,26), (52,44), (67,61), (98,94), (193,191).
|
|
MATHEMATICA
|
nn = 30000;
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
|
|
|
|