OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,1).
FORMULA
a(n) == 9a(n-1) mod 11.
O.g.f.: -(1+9*x-7*x^2+3*x^3+5*x^4)/((x-1)*(1+x+x^2+x^3+x^4)). - R. J. Mathar, Jan 07 2008
MAPLE
A135449 := proc(n) op((n mod 5)+1, [1, 9, -7, 3, 5]) ; end: seq(A135449(n), n=0..150) ; # R. J. Mathar, Feb 07 2009
PROG
(PARI) a(n)=[1, 9, -7, 3, 5][n%5+1] \\ Charles R Greathouse IV, Jun 02 2011
CROSSREFS
KEYWORD
sign,easy,less
AUTHOR
Paul Curtz, Dec 14 2007
EXTENSIONS
More periods from R. J. Mathar, Feb 07 2009
STATUS
approved