OFFSET
0,5
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (1,1,-1,1,-1,-1,1).
FORMULA
a(n) = a(n-1) +a(n-2) -a(n-3) +a(n-4) -a(n-5) -a(n-6) +a(n-7). - R. J. Mathar, Mar 11 2012
MAPLE
MATHEMATICA
Table[Floor[n/4]Ceiling[(n+3)/4], {n, 0, 70}] (* Harvey P. Dale, Sep 19 2011 *)
PROG
(Magma) [Floor(n/4)*Ceiling((n+3)/4): n in [0..60]]; // Vincenzo Librandi, Sep 21 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 02 2000
STATUS
approved