OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
MATHEMATICA
f[k_] = Floor[Mod[10^k*(7/(4*k + 1) - 6/(4*k + 3) - 1/(4*k + 5)), 3]];
M0 = {{0, 1}, {1, 1/2}}; M = {{0, 2}, {2, 1}};
Mh[n_] := M0.(M.Inverse[f[n]*IdentityMatrix[2] + M0]);
v[0] = {0, 1};
v[n_] := v[n] = Mh[n].v[n - 1]
Table[ -v[n][[1]]/2, {n, 0, 30}]
CROSSREFS
KEYWORD
sign,uned,obsc,base
AUTHOR
Roger L. Bagula and Alexander R. Povolotsky, Dec 01 2008
STATUS
approved