OFFSET
3,8
LINKS
Antti Karttunen, Table of n, a(n) for n = 3..10000
FORMULA
G.f.: x^6*(1 + x - x^2 - x^3 + x^4 + 2*x^5 - 2*x^7)/((1 - x^2)*(1 - x^3)).
a(n) = A008615(n) if n>8. - Michael Somos, Feb 06 2003
EXAMPLE
G.f. = x^6 + x^7 + x^9 + 2*x^10 + 2*x^11 + 2*x^12 + 2*x^13 + 3*x^14 + ...
MAPLE
[ seq(floor(n/2) mod floor(n/3), n=3..100) ];
MATHEMATICA
Table[Mod[Floor[n/2], Floor[n/3]], {n, 3, 100}] (* Harvey P. Dale, Apr 06 2018 *)
PROG
(PARI) {a(n) = if( n<3, 0, (n\2) % (n\3))}; /* Michael Somos, Feb 06 2003 */
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved