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!)
A123186 This sequence needs a meaningful name. 0
1, 1, 1, -2, -2, -2, 0, 0, 0, -8, -8, -8, 1112, 1112, 1112, -16336, -16336, -16336, 29760, 29760, 29760, 108608, 108608, 108608, 112587520, 112587520, 112587520, -3584451200, -3584451200, -3584451200, 17790850560, 17790850560, 17790850560, 208254684160, 208254684160 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
MATHEMATICA
M1 = {{-n, 1, 0}, {0, 1, 0}, {0, 0, 1}};
M2 = {{1, 0, 0}, {n, -n, 1}, {0, 0, 1}};
M3 = {{1, 0, 0}, {0, 1, 0}, {0, n, -n}};
M[n_] := If[Mod[n, 3] == 1, M1, If[Mod[n, 3] == 2, M2, M3]]
v[1] = {1, 0, 0}
v[n_] := v[n] = M[n].v[n - 1]
a1 = Table[v[n][[1]], {n, 1, 50}]
CROSSREFS
Sequence in context: A039967 A258133 A327152 * A127323 A327298 A132896
KEYWORD
uned,sign,easy,less
AUTHOR
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 April 25 16:23 EDT 2024. Contains 371989 sequences. (Running on oeis4.)