The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
David A. Corneth, Table of n, a(n) for n = 1..10000 (first 120 terms from Colin Barker)
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}];
Position[t, 7] // Flatten (* Jean-François Alcover, Jun 18 2020, after T. D. Noe in A034178 *)
PROG
(PARI) is_A257414(n)={A034178(n)==7} \\ M. F. Hasler, Apr 22 2015
CROSSREFS
Sequence in context: A116301 A219225 A045082 * A179668 A219317 A281238
KEYWORD
nonn
AUTHOR
Colin Barker, Apr 22 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 10 09:06 EDT 2024. Contains 373259 sequences. (Running on oeis4.)