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!)
A257415 Values of n such that there are exactly 8 solutions to x^2 - y^2 = n with x > y >= 0. 7
480, 576, 672, 840, 864, 945, 1056, 1080, 1120, 1155, 1248, 1296, 1320, 1365, 1485, 1512, 1536, 1560, 1600, 1632, 1755, 1760, 1785, 1824, 1848, 1995, 2025, 2040, 2079, 2080, 2145, 2184, 2208, 2280, 2295, 2376, 2415, 2457, 2464, 2560, 2565, 2625, 2720, 2760 (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 1600 terms from Colin Barker)
EXAMPLE
480 is in the sequence because there are 8 solutions to x^2 - y^2 = 480, namely (x,y) = (22,2), (23,7), (26,14), (29,19), (34,26), (43,37), (62,58), (121,119).
MATHEMATICA
nn = 3000;
t = Table[0, {nn}];
Do[n = x^2 - y^2; If[n <= nn, t[[n]]++], {x, nn}, {y, 0, x - 1}];
Position[t, 8] // Flatten (* Jean-François Alcover, Jun 18 2020, after T. D. Noe in A034178 *)
PROG
(PARI) is_A257415(n)={A034178(n)==8} \\ M. F. Hasler, Apr 22 2015
CROSSREFS
Cf. A034178.
Sequence in context: A115157 A019287 A258551 * A179667 A108876 A293187
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 April 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)