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”).

A200409
The y-values in the solution to 19*x^2 - 18 = y^2.
2
1, 39, 571, 911, 13299, 194141, 309739, 4521621, 66007369, 105310349, 1537337841, 22442311319, 35805208921, 522690344319, 7630319841091, 12173665722791, 177713179730619, 2594286303659621, 4139010540540019, 60421958418066141, 882049712924430049
OFFSET
1,2
COMMENTS
When are both n+1 and 19*n+1 perfect squares? This gives the equation 19*x^2 - 18 = y^2.
FORMULA
a(n) = 340*a(n-3) - a(n-6), a(1)=1, a(2)=39, a(3)=571, a(4)=911, a(5)=13299, a(6)=194141.
G.f.: x*(x+1)*(x^4 + 38*x^3 + 533*x^2 + 38*x + 1) / (x^6 - 340*x^3 + 1). - Colin Barker, Sep 01 2013
EXAMPLE
a(7) = 340*911 - 1 = 309739.
MATHEMATICA
LinearRecurrence[{0, 0, 340, 0, 0, -1}, {1, 39, 571, 911, 13299, 194141}, 50]
PROG
(Magma) I:=[1, 39, 571, 911, 13299, 194141]; [n le 6 select I[n] else 340*Self(n-3)-Self(n-6): n in [1..30]]; // Vincenzo Librandi, Nov 18 2011
(PARI) Vec(x*(x+1)*(x^4+38*x^3+533*x^2+38*x+1)/(x^6-340*x^3+1) + O(x^100)) \\ Colin Barker, Sep 01 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sture Sjöstedt, Nov 17 2011
STATUS
approved