login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A257410 Values of n such that there are exactly 3 solutions to x^2 - y^2 = n with x > y >= 0. 3
45, 48, 63, 64, 72, 75, 80, 81, 99, 112, 117, 128, 147, 153, 171, 175, 176, 180, 200, 207, 208, 243, 245, 252, 261, 272, 275, 279, 300, 304, 324, 325, 333, 363, 368, 369, 387, 392, 396, 423, 425, 464, 468, 475, 477, 496, 507, 531, 539, 549, 575, 588, 592 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Colin Barker, Table of n, a(n) for n = 1..500

EXAMPLE

45 is in the sequence because there are 3 solutions to x^2 - y^2 = 45, namely (x,y) = (7,2),(9,6),(23,22).

MATHEMATICA

r[n_] := Reduce[x^2 - y^2 == n && x > y >= 0, {x, y}, Integers]; Reap[For[n = 1, n < 600, n++, rn = r[n]; If[rn[[0]] === Or && Length[rn] == 3, Print[n]; Sow[n]]]][[2, 1]] (* Jean-Fran├žois Alcover, Apr 22 2015 *)

PROG

(PARI) is_A257410(n)={A034178(n)==3} \\ M. F. Hasler, Apr 22 2015

CROSSREFS

Cf. A257408, A257409, A257411-A257417.

Cf. A034178.

Sequence in context: A116334 A291788 A291787 * A306103 A045566 A274368

Adjacent sequences:  A257407 A257408 A257409 * A257411 A257412 A257413

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 20:12 EST 2019. Contains 329961 sequences. (Running on oeis4.)