|
| |
| |
|
|
|
29, 870, 3393, 7598, 13485, 21054, 30305, 41238, 53853, 68150, 84129, 101790, 121133, 142158, 164865, 189254, 215325, 243078, 272513, 303630, 336429, 370910, 407073, 444918, 484445, 525654, 568545, 613118, 659373, 707310, 756929, 808230, 861213
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,1
|
|
|
COMMENTS
|
The identity (58*n^2+1)^2-(841*n^2+29)*(2*n)^2 = 1 can be written as A158666(n)^2-a(n)*A005843(n)^2 = 1.
|
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Vincenzo Librandi, X^2-AY^2=1
Index to sequences with linear recurrences with constant coefficients, signature (3,-3,1).
|
|
|
FORMULA
|
G.f.: -29*(1+27*x+30*x^2)/(x-1)^3.
a(n)= 3*a(n-1) -3*a(n-2) +a(n-3).
|
|
|
MATHEMATICA
|
29(29Range[0, 40]^2+1) (* or *) LinearRecurrence[{3, -3, 1}, {29, 870, 3393}, 40] (* From Harvey P. Dale, Nov 05 2011 *)
|
|
|
PROG
|
(MAGMA) I:=[29, 870, 3393]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Feb 17 2012
(PARI) for(n=0, 40, print1(841*n^2 + 29", ")); \\ Vincenzo Librandi, Feb 17 2012
|
|
|
CROSSREFS
|
Cf. A158666, A005843.
Sequence in context: A049667 A042626 A157877 * A167738 A107964 A096699
Adjacent sequences: A158662 A158663 A158664 * A158666 A158667 A158668
|
|
|
KEYWORD
|
nonn,easy
|
|
|
AUTHOR
|
Vincenzo Librandi, Mar 24 2009
|
|
|
EXTENSIONS
|
Comment rephrased and redundant formula replaced by R. J. Mathar, Oct 19 2009
|
|
|
STATUS
|
approved
|
| |
|
|