login
A174773
y-values in the solution to x^2 - 34*y^2 = 1.
2
0, 6, 420, 29394, 2057160, 143971806, 10075969260, 705173876394, 49352095378320, 3453941502606006, 241726553087042100, 16917404774590340994, 1183976607668236827480, 82861445132001987582606
OFFSET
1,2
COMMENTS
The corresponding values of x of this Pell equation are in A174749.
FORMULA
a(n) = 70*a(n-1)-a(n-2) with a(1)=0, a(2)=6.
G.f.: 6*x^2/(1-70*x+x^2).
MATHEMATICA
LinearRecurrence[{70, -1}, {0, 6}, 30]
PROG
I:=[0, 6]; [n le 2 select I[n] else 70*Self(n-1)-Self(n-2): n (Magma) in [1..20]];
(PARI) a(n)=([0, 1; -1, 70]^(n-1)*[0; 6])[1, 1] \\ Charles R Greathouse IV, Jan 29 2016
CROSSREFS
Cf. A174749.
Sequence in context: A331352 A159015 A106206 * A229471 A258192 A273820
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 15 2010
STATUS
approved