login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A284517
Periodic with period [1, 4, 3, 4, 1, 6] of length 6.
2
1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6, 1, 4, 3, 4, 1, 6
OFFSET
1,2
FORMULA
G.f. -x*(1+5*x+7*x^2+6*x^3) / ( (x-1)*(1+x)*(1+x+x^2) ).
a(n+6) = a(n).
a(n) = (24 - ((n mod 6)^5 - 13*(n mod 6)^4 + 61*(n mod 6)^3 - 123*(n mod 6)^2 + 94*(n mod 6)))/4 for n>0. - Luce ETIENNE, Oct 19 2017
CROSSREFS
Row 3 of A008307.
Cf. A284518.
Sequence in context: A245727 A280822 A346785 * A286953 A170987 A239735
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Mar 28 2017
STATUS
approved