OFFSET
0,6
COMMENTS
REFERENCES
Tom Karzes, Posting to Math Fun Mailing List, Jul 05 2016.
FORMULA
Empirical g.f.: x^4*(1+2*x^2+6*x^3+4*x^4+8*x^6) / ((1-x)*(1-2*x)*(1-2*x^2)*(1+2*x^2)*(1-2*x^4)*(1-8*x^4)). - Colin Barker, Jul 06 2016
MAPLE
f:=(n, d) -> mul(2^floor((n+i)/d)-1, i = 0 .. d-1);
[seq(f(n, 4), n=0..40)];
PROG
(PARI) a(n) = prod(i=0, 3, 2^floor((n+i)/4)-1) \\ Colin Barker, Jul 06 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 05 2016
STATUS
approved