OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..500
Index entries for linear recurrences with constant coefficients, signature (99,-99,1).
FORMULA
a(n) = A146312(n) + 1.
a(n) = sin((2n-1)*arcsin(sqrt(3)))^2 = 1+sinh((2n-1)*arcsinh(sqrt(2)))^2. - Artur Jasinski, Oct 30 2008
a(n) = 99*a(n-1)-99*a(n-2)+a(n-3). - Colin Barker, Oct 26 2014
G.f.: -3*x*(x^2-18*x+1) / ((x-1)*(x^2-98*x+1)). - Colin Barker, Oct 26 2014
MAPLE
A146313 := proc(n) cosh( (2*n - 1)*arcsinh(sqrt(2)) )^2; expand(%) ; simplify(%) ; end proc: # R. J. Mathar, Feb 26 2011
MATHEMATICA
Table[Round[N[Cosh[(2 n - 1) ArcSinh[Sqrt[2]]], 300]^2], {n, 1, 50}] (* Artur Jasinski, Oct 30 2008 *)
PROG
(PARI) Vec(-3*x*(x^2-18*x+1) / ((x-1)*(x^2-98*x+1)) + O(x^100)) \\ Colin Barker, Oct 26 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Oct 29 2008
EXTENSIONS
More terms from Colin Barker, Oct 26 2014
STATUS
approved