OFFSET
1,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 0, 0, 0, 0, 1, -2, 1).
FORMULA
a(n) = 3/14*n^2 - n/14 + O(1). - Charles R Greathouse IV, May 30 2026
MATHEMATICA
PROG
(PARI) a(n)=(3*n^2-n+2*[0, -1, -5, -5, -8, -7, -2][n%7+1])/14 \\ Charles R Greathouse IV, May 30 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 19 2011
STATUS
approved
