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!)
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}];
Position[t, 4] // Flatten (* Jean-François Alcover, Jun 18 2020, after T. D. Noe in A034178 *)
PROG
(PARI) is_A257411(n)={A034178(n)==4} \\ M. F. Hasler, Apr 22 2015
CROSSREFS
Cf. A034178.
Sequence in context: A045528 A181470 A306104 * A175116 A153484 A060660
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 30 22:16 EDT 2024. Contains 373906 sequences. (Running on oeis4.)