The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A049244 Smallest nonnegative value taken on by 5x^2 - ny^2 for an infinite number of integer pairs (x, y). 0
 1, 2, 2, 1, 0, 5, 5, 5, 5, 5, 1, 5, 5, 5, 5, 4, 3, 2, 1, 0, 5, 5, 5, 5, 5, 5, 2, 5, 5, 5, 1, 5, 3, 5, 5, 5, 5, 5, 5, 5, 1, 3, 2, 1, 0, 5, 5, 5, 5, 5, 5, 5, 3, 5, 5, 5, 5, 5, 1, 5, 1, 2, 5, 5, 5, 5, 2, 5, 5, 5, 1, 5, 5, 5, 5, 4, 3, 2, 1, 0, 5, 5, 2, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 3, 5, 5, 1, 5, 5, 5, 5 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS MATHEMATICA f[n_, z_] := FindInstance[x > 0 && y > 0 && 5*x^2 - n*y^2 == z, {x, y}, Integers, 1]; a[n_] := For[z = 0, z <= 5, z = z + GCD[n, 5], fz = f[n, z]; If[fz =!= {}, Print["a(", n, ") = ", z, " {x, y} = ", {x, y} /. fz[[1]]]; Return[z]]]; a[49] := (Print["a(49) = ", 5, " {x, y} = ", {51841, 16560}]; 5); a[81] := (Print["a(81) = ", 5, " {x, y} = ", {161, 40}]; 5); a[83] := (Print["a(83) = ", 5, " {x, y} = ", {1919, 471}]; 5); a[98] := (Print["a(98) = ", 3, " {x, y} = ", {31, 7}]; 3); Table[TimeConstrained[a[n], 300], {n, 1, 105}] (* Jean-François Alcover, Oct 10 2016 *) CROSSREFS Sequence in context: A106566 A099039 A205574 * A110281 A120059 A067347 Adjacent sequences: A049241 A049242 A049243 * A049245 A049246 A049247 KEYWORD nonn AUTHOR 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.

Last modified December 6 19:25 EST 2022. Contains 358647 sequences. (Running on oeis4.)