OFFSET
1,3
COMMENTS
Alternating even-odd matrix recursive sequence using the x^3-x^2-x-1=0 Pisot balanced by the x^3-x-1=0 minimal Pisot.
A new minimal Pisot recursive matrix developed with eigenvalue equation x^3-x-1=0 using the Blackmore-Kappraff "bonacci" matrix as the pattern.
MATHEMATICA
(* Adamson's matrix functions alternating x^3 Pisot and minimal Pisot*) digits=200 Solve[x^3-x-1==0, x] k=positive root of minimal Pisot q=N[k^2-1/k, 20] m0={{0, 1, 0}, {0, 1, 1}, {1, 0, -q}} NSolve[x^3-x^2-x-1==0, x] k1=1.83928675521416113 q1=k1^2-k1-1/k1 m1={{0, 1, 0}, {0, 0, 1}, {1, 1, q1}} m[n_Integer?Positive] := If[Mod[n, 2]==0, m[n-1].m0, m[n-1].m1] m[0] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}} a=Table[Floor[m[n][[3, 3]]], {n, 1, digits}]
CROSSREFS
KEYWORD
sign
AUTHOR
Roger L. Bagula, Dec 03 2003
STATUS
approved