The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A058799 Column 2 of A007754. 5
1, 3, 11, 52, 301, 2055, 16139, 143196, 1415821, 15430835, 183754199, 2373373752, 33043478329, 493278801183, 7859417340599, 133116815989000, 2388243270461401, 45243505322777619, 902481863185090979 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Conjectured partial sums of A093935. - Sean A. Irvine, Jun 25 2022
LINKS
Eric Weisstein's World of Mathematics, Modular Group Gamma. [Roger L. Bagula, Nov 02 2008]
FORMULA
a(n) = (n+2)*a(n-1)-a(n-2) [with a(0)=1 and a(-1)=0] = A058798(n+1) - A058797(n+2). - Henry Bottomley, Feb 28 2001
A signed version with a slightly different start may be obtained from the modular group Gamma: Let S = {{0, -1}, {1, 0}}; T = {{1, 1}, {0, 1}}; m(n) = T^n.S.m(m-1); v(0)={1,0}; v(n)=m(n).v(0); a(n)=v(n)[[1]]. This gives the sequence 1, 0, -1, -3, -11, -52, -301, -2055, -16139, -143196, -1415821, -15430835, ... - Roger L. Bagula, Nov 02 2008
a(n) = Sum_{k = 0..floor(n/2)} (-1)^k*(n-2*k)!*binomial(n-k,k)*binomial(n-k+2,k+2). Cf. A058798. - Peter Bala, Aug 01 2013
MATHEMATICA
Clear[S, T, M, v, n]; S = {{0, -1}, {1, 0}}; T = {{1, 1}, {0, 1}}; M[0] = T.S; M[n_] := M[n] = (MatrixPower[T, n].S).M[n - 1]; v[0] = {1, 0}; v[n_] := v[n] = M[n].v[0]; a = Table[v[n][[1]], {n, 0, 30}] (* Roger L. Bagula, Nov 02 2008 *)
nxt[{n_, a_, b_}]:={n+1, b, (n+3)b-a}; NestList[nxt, {0, 0, 1}, 20][[;; , 2]] (* Harvey P. Dale, Jul 30 2023 *)
CROSSREFS
Sequence in context: A179322 A014510 A351067 * A357833 A054362 A129833
KEYWORD
nonn
AUTHOR
Christian G. Bower, Dec 02 2000
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 May 23 02:40 EDT 2024. Contains 372758 sequences. (Running on oeis4.)