Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089135
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089135 Alternating 5 Bonacci and 5th power Pisot in a matrix recursive sequence. +0
1
1, 0, 0, 2, 3, -2, -3, 6, 9, -11, -16, 23, 34, -47, -69, 95, 140, -195, -287, 396, 583, -809, -1191, 1648, 2426, -3361, -4948, 6852, 10087, -13970, -20566, 28483, 41931, -58071, -85489, 118398, 174299, -241392, -355364, 492158, 724528, -1003425, -1477187 (list; graph; listen)
OFFSET

1,4

COMMENT

Define two 5 X 5 matrices, mB=[[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1],[-1,0,1,-1,-1]] and mP=[[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1],[1,1,1,1,1]].

The sequence is the (5,5) element of starting with mP and multiplying alternatively the intermediate matrix products with mB and mP.

FORMULA

G.f.: x(1+2x^3+x^4-x^9+x^2)/(1+x^2-2x^4+x^10). - R. J. Mathar, Oct 24 2008

MAPLE

with(linalg) :

mB := matrix(5, 5, [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 1, 0], [0, 0, 0, 0, 1], [-1, 0, 1, -1, -1]]) :

mP := matrix(5, 5, [[0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 1, 0], [0, 0, 0, 0, 1], [1, 1, 1, 1, 1]]) :

mt := mP : printf("%d, ", mt[5, 5]) ; for n from 0 to 60 do

mt := evalm(mt&*mB) ; printf("%d, ", mt[5, 5]) ; mt := evalm(mt&*mP) ; printf("%d, ", mt[5, 5]) ; od:

CROSSREFS

Cf. A001591.

Sequence in context: A165930 A064895 A120877 this_sequence A038063 A085204 A055375

Adjacent sequences: A089132 A089133 A089134 this_sequence A089136 A089137 A089138

KEYWORD

sign

AUTHOR

Roger L. Bagula (rlbagulatftn(AT)yahoo.com), Dec 05 2003

EXTENSIONS

Corrected bad handling of floating point numerics, N. J. A. Sloane (njas(AT)research.att.com), Oct 24 2008

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research