OFFSET
2,9
COMMENTS
It appears that a(n)=1 gives same terms as A222945. - Michel Marcus, Mar 23 2016
FORMULA
Empirical g.f.: x^7*(1-x+2*x^2+x^3-3*x^4+3*x^5-6*x^6+5*x^7+x^8-x^9+2*x^10-2*x^11) / ((1-x)*(1+x^2)*(1+x^2-x^4)*(1-x^2-x^4)). - Colin Barker, Mar 23 2016
EXAMPLE
a(10) = 3 since (1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55) mod 5 = 143 mod 5 = 3.
a(11) = 2 since (1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89) mod 5 = 2.
a(12) = 0 since (1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89 + 144) mod 8 = 0.
MATHEMATICA
Table[Mod[Fibonacci[n + 2] - 1, Fibonacci[Floor[n/2]]], {n, 2, 69}] (* Michael De Vlieger, Mar 23 2016 *)
PROG
(PARI) for(n=2, 1e2, print1((fibonacci(n+2)-1) % fibonacci(n\2), ", "));
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 22 2016
STATUS
approved