OFFSET
0,4
COMMENTS
An absolute value was used in the determinant step to keep the result positive.
FORMULA
s[1] = {{1, 0}, {0, 1}}; s[2] = {{0, 1}, {1, 1}}; s[3] = {{1, 1}, {1, 0}}; s[4] = {{1, 0}, {1, 1}}; s[5] = {{1, 1}, {0, 1}}; s[6] = {{0, 1}, {1, 0}}; a[0] = {0, 1, 1, 2, 3, 5}; a[1] = {1, 1, 2, 3, 5, 8}; a[n_] := a[n] = {a[n - 1][[2]], a[n - 1][[3]], a[n - 1][[4]], a[n - 1][[5]], a[n - 1][[6]], Abs[ Det[Sum[a[n - 1][[i]]*s[i], {i, 1, 6}]]]} a(n)=a[n][[1]]
MATHEMATICA
s[1] = {{1, 0}, {0, 1}}; s[2] = {{0, 1}, {1, 1}}; s[3] = {{1, 1}, {1, 0}}; s[4] = {{1, 0}, {1, 1}}; s[5] = {{1, 1}, {0, 1}}; s[6] = {{0, 1}, {1, 0}}; a[0] = {0, 1, 1, 2, 3, 5}; a[1] = {1, 1, 2, 3, 5, 8}; a[n_] := a[n] = {a[n - 1][[2]], a[n - 1][[3]], a[n - 1][[4]], a[n - 1][[5]], a[n - 1][[6]], Abs[ Det[Sum[a[n - 1][[i]]*s[i], {i, 1, 6}]]]} Table[a[n][[1]], {n, 0, 15}]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, Aug 06 2006
STATUS
approved