Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A101822
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A101822 a(n) = a(n-1) + 2*a(n-2) + 3*a(n-3), a(0) = a(1) = 1 & a(2) = 3. +0
2
1, 1, 3, 8, 17, 42, 100, 235, 561, 1331, 3158, 7503, 17812, 42292, 100425, 238445, 566171, 1344336, 3192013, 7579198, 17996232, 42730667, 101460725, 240910755, 572024206, 1358227891, 3225008568, 7657536968, 18182237777, 43172337417 (list; graph; listen)
OFFSET

0,3

COMMENT

A "one two three" recursive sequence.

The recursive multipliers "one two three" are found in the three right coefficients of the characteristic polynomial of M: x^3 - x^2 - 2x - 3, (with changed signs). a(n)/a(n-1) tends to 2.3744237632...an eigenvalue of M and a root of the characteristic polynomial.

FORMULA

a(n) = left term in M^n * [1 0 0], where M = the 3X3 matrix [1 1 1 / 2 0 0 / 0 3/2 0].

EXAMPLE

a(8) = 561 = 235 + 2*100 + 3*42 = a(7) + 2*a(6) + 3*a(5).

a(5) = 42, since M^5 * [1 0 0] = [ 42 34 24].

MATHEMATICA

a[0] = a[1] = 1; a[2] = 3; a[n_] := a[n] = a[n - 1] + 2a[n - 2] + 3a[n - 3]; Table[ a[n], {n, 0, 29}] (* Or *)

a[n_] := (MatrixPower[{{1, 1, 1}, {2, 0, 0}, {0, 3/2, 0}}, n].{{1}, {0}, {0}})[[1, 1]]; Table[ a[n], {n, 0, 29}] (from Robert G. Wilson v Dec 20 2004)

CROSSREFS

The (1,1,1) weighted equivalent is the core tribonacci sequence A000073. The (1,2,3) weighted equivalent is A100550.

Sequence in context: A034481 A046994 A058811 this_sequence A088589 A063597 A004210

Adjacent sequences: A101819 A101820 A101821 this_sequence A101823 A101824 A101825

KEYWORD

nonn

AUTHOR

Gary W. Adamson (qntmpkt(AT)yahoo.com), Dec 17 2004

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 20 2004

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 30 22:12 EST 2008. Contains 150989 sequences.


AT&T Labs Research