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!)
A248220 Values of n such that the equation x^2 - n*y^2 = n*(n+1)*(n+2)/6 has integer solutions. 0
1, 2, 4, 7, 14, 16, 25, 31, 39, 48, 49, 52, 57, 64, 73, 74, 79, 84, 86, 97, 100, 112, 121, 127, 129, 134, 169, 192, 194, 196, 199, 217, 241, 244, 254, 256, 266, 273, 289, 292, 302, 304, 326, 336, 337, 350, 361, 372, 399, 400, 409, 448, 457, 484, 487, 489, 511 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
7 is in the sequence because x^2-7*y^2=84 has integer solutions, including (x,y) = (14,4) and (28,10).
MATHEMATICA
Select[Range[300], Length[FullSimplify[Solve[x^2-#*y^2==#*(#+1)*(#+2)/6, {x, y}, Integers]/.C[1]->1]]>0&] (* Vaclav Kotesovec, Oct 05 2014, Mathematica version >= 8 *)
CROSSREFS
Sequence in context: A286371 A030135 A222306 * A018476 A265309 A293825
KEYWORD
nonn
AUTHOR
Colin Barker, Oct 04 2014
EXTENSIONS
More terms from Vaclav Kotesovec, Oct 05 2014
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 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)