Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109530
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109530 a(n)= 3*a(n-3) +3*a(n-6) +a(n-9). +0
2
1, 0, 2, 6, 1, 9, 23, 2, 34, 88, 9, 131, 339, 34, 504, 1304, 131, 1939, 5017, 504, 7460, 19302, 1939, 28701, 74261, 7460, 110422, 285706, 28701, 424829, 1099203, 110422, 1634454, 4228988, 424829, 6288271, 16270279, 1634454, 24193004, 62597004 (list; graph; listen)
OFFSET

0,3

COMMENT

The recurrence shows that these are actually three interleaved sequences with

the same recurrence (and the same characteristic polynomial).

FORMULA

G.f.: (1+2*x^2+3*x^3+x^4+3*x^5+2*x^6-x^7+x^8)/(1-3*x^3-3*x^6-x^9). [Sep 28 2009]

MATHEMATICA

M1 = {{0, 1, 0}, {0, 0, 1}, {1, 1, 1}}; M2 = {{1, 1, 1}, {1, 0, 0}, {0, 1, 0}}; M3 = {{0, 1, 0}, {1, 1, 1}, {1, 0, 0}}; M[n_] = If[Mod[n, 3] == 1, M3, If[Mod[n, 3] == 2, M2, M1]]; v[0] = {0, 1, 1}; v[n_] := v[n] = M[n].v[n - 1] a = Table[v[n][[3]], {n, 0, 100}]

CROSSREFS

Cf. A000213, A109529 A109528.

Adjacent sequences: A109527 A109528 A109529 this_sequence A109531 A109532 A109533

Sequence in context: A011041 A100831 A136763 this_sequence A111519 A008855 A132181

KEYWORD

nonn,easy

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Jun 18 2005

EXTENSIONS

Definition replaced by recurrence by the Associate Editors of the OEIS, Sep 28 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 8 19:30 EST 2009. Contains 166227 sequences.


AT&T Labs Research