login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A145694
Numbers Y such that 57*Y^2+19 is a square.
1
5, 1515, 457525, 138171035, 41727195045, 12601474732555, 3805603642036565, 1149279698420310075, 347078663319291606085, 104816607042727644727595, 31654268248240429416127605, 9559484194361566956025809115, 2886932572428944980290378225125
OFFSET
1,1
FORMULA
a(n+2) = 302*a(n+1)-a(n).
G.f.: 5*x*(x+1) / (x^2-302*x+1). - Colin Barker, Oct 21 2014
EXAMPLE
a(1)=5 because the first relation is 38^2=57*5^2+19.
MATHEMATICA
CoefficientList[Series[5 (x + 1)/(x^2 - 302 x + 1), {x, 0, 20}], x] (* Vincenzo Librandi, Oct 21 2014 *)
LinearRecurrence[{302, -1}, {5, 1515}, 15] (* Harvey P. Dale, Jun 25 2021 *)
PROG
(PARI) Vec(5*x*(x+1)/(x^2-302*x+1) + O(x^20)) \\ Colin Barker, Oct 21 2014
(Magma) I:=[5, 1515]; [n le 2 select I[n] else 302*Self(n-1)-Self(n-2): n in [1..15]]; // Vincenzo Librandi, Oct 21 2014
CROSSREFS
Cf. A145120.
Sequence in context: A259867 A169620 A181992 * A184970 A184973 A184971
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Oct 16 2008
EXTENSIONS
Editing and more terms from Colin Barker, Oct 21 2014
STATUS
approved