|
|
A068204
|
|
Let (x_n, y_n) be n-th solution to the Pell equation x^2 = 14*y^2 + 1. Sequence gives {y_n}.
|
|
3
|
|
|
0, 4, 120, 3596, 107760, 3229204, 96768360, 2899821596, 86897879520, 2604036564004, 78034199040600, 2338421934653996, 70074623840579280, 2099900293282724404, 62926934174641152840, 1885708124945951860796
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
x_n + y_n*sqrt(14) = (x_1 + y_1*sqrt(14))^n.
a(n) = (2+15/28*sqrt(14))*(-1/(-15-4*sqrt(14)))^n/(-15-4*sqrt(14))+(-15/28*sqrt(14)+2)*(-1/(-15+4*sqrt(14)))^n/(-15+4*sqrt(14)).
Recurrence: a(n) = 30*a(n-1)-a(n-2).
G.f.: 4*x/(1-30*x+x^2). (End)
|
|
MAPLE
|
Digits := 1000: q := seq(floor(evalf(((15+4*sqrt(14))^n-(15-4*sqrt(14))^n)/28*sqrt(14))+0.1), n=1..30);
|
|
MATHEMATICA
|
LinearRecurrence[{30, -1}, {0, 4}, 16] (* Ray Chandler, Aug 11 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|