login
A134012
Period 5: repeat 1, 6, 11, 6, 1.
0
1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1, 1, 6, 11, 6, 1
OFFSET
0,2
FORMULA
G.f. -(x^2+3*x+1)^2 / ( (x-1)*(1+x+x^2+x^3+x^4) ). - R. J. Mathar, Apr 02 2011
MATHEMATICA
PadRight[{}, 100, {1, 6, 11, 6, 1}] (* Harvey P. Dale, Jul 05 2022 *)
PROG
(PARI) a(n)=11-5*abs(n%5-2) \\ Jaume Oliver Lafont, Aug 28 2009
CROSSREFS
Sequence in context: A106540 A212208 A334280 * A103704 A135998 A242825
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Jan 10 2008
STATUS
approved