OFFSET
0,5
LINKS
Wikipedia, Proton.
FORMULA
G.f.: x^2(x - 1)(x^4 + 4x^3 - x^2 - 4x - 1)/((x^3 + x^2 - 1)(x^6 + 5x^5 - 9x^4 - 3x^3 + 7x^2 + x - 1))
a(n) = a(n-1) + 8a(n-2) - 3a(n-3) - 17a(n-4) + a(n-5) + 13a(n-6) + 4a(n-7) - 6a(n-8) - a(n-9). [M. F. Hasler, Nov 24 2010]
M = {{0, 1, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 1, 0, 1, 0, 0, 0, 0},
{1, 1, 0, 0, 0, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 1, 1, 0, 0},
{0, 1, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 1, 1, 0, 0, 1},
{0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 1},
{0, 0, 0, 0, 0, 1, 1, 1, 0}};
v(n)=M.v(n-1) ; a(n) is the first component of v(n).
MATHEMATICA
M = {{0, 1, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 1, 0, 1, 0, 0, 0, 0},
{1, 1, 0, 0, 0, 1, 0, 0, 0},
{1, 0, 0, 0, 0, 1, 1, 0, 0},
{0, 1, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 1, 1, 0, 0, 1},
{0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 0, 0, 1, 0, 0, 0, 1},
{0, 0, 0, 0, 0, 1, 1, 1, 0}};
v[0] = {0, 0, 0, 0, 0, 0, 0, 0, 1};
v[n_] := v[n] = M.v[n - 1]
Table[v[n][[1]], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Roger L. Bagula, Nov 24 2010
EXTENSIONS
Better name (using recurrence) from Joerg Arndt, Apr 06 2018
STATUS
approved