OFFSET
0,9
FORMULA
Conjecture: a(n) = a(n-1) + a(n-2) - a(n-3) + a(n-5) + a(n-31) - a(n-32) - a(n-33) + a(n-34) - a(n-36). - R. J. Mathar, Feb 18 2016
MAPLE
A107293 := proc(n)
option remember;
if n <=4 then
op(n+1, [0, 0, 0, 0, 1]) ;
else
procname(n-1)+procname(n-2)-procname(n-3)+procname(n-5) ;
end if;
end proc:
A173693 := proc(n)
ceil(A107293(n)/2) ;
end proc: # R. J. Mathar, Feb 18 2016
MATHEMATICA
M = {{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}}
v[0] = {0, 0, 0, 0, 1}
v[n_] := v[n] = M.v[n - 1]
Table[v[n][[1]] - Floor[v[n][[1]]/2], {n, 0, 30}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Nov 25 2010
STATUS
approved