login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173115 a(n) = -(sin(2*n*arccos(sqrt(3))))^2. 20
0, 24, 2400, 235224, 23049600, 2258625624, 221322261600, 21687323011224, 2125136332838400, 208241673295152024, 20405558846592060000, 1999536525292726728024, 195934173919840627286400 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 99*a(n-1) - 99*a(n-2) + a(n-3), n > 2.
Binet formula: a(n) = -1/2 + (1/4)(49 + 20*sqrt(6))^n + (1/4)(49 - 20*sqrt(6))^n.
a(n) = 24*A108741(n).
From R. J. Mathar, Aug 23 2012: (Start)
G.f.: -24*x*(1+x) / ( (x-1)*(x^2-98*x+1) ).
a(n) = A132596(2n). (End)
MATHEMATICA
Table[ -Round[N[Sin[2 n ArcCos[Sqrt[3]]]^2, 100]], {n, 0, 20}]
OR
Table[Round[N[ -1/2 + (1/4) (49 + 20 Sqrt[6])^n + (1/4) (49 - 20 Sqrt[6])^n]], {n, 0, 6}]
OR
Clear[a]; a[n_] := a[n] = 99 a[n - 1] - 99 a[n - 2] + a[n - 3]; a[0] = 0; a[1] = 24; a[2] = 2400; Table[a[n], {n, 0, 10}]
PROG
(PARI) a(n)=([0, 1, 0; 0, 0, 1; 1, -99, 99]^n*[0; 24; 2400])[1, 1] \\ Charles R Greathouse IV, Jun 11 2015
CROSSREFS
Sequence in context: A001501 A054005 A107675 * A202927 A354106 A336864
KEYWORD
nonn,easy
AUTHOR
Artur Jasinski, Feb 10 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 11:57 EDT 2024. Contains 371241 sequences. (Running on oeis4.)