|
| |
|
|
A130630
|
|
Periodic sequence with period 1 1 1 1 1 0 0 0 0.
|
|
0
| |
|
|
1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
LINKS
| Index entries for sequences related to linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).
|
|
|
FORMULA
| a(n)=(1/324)*{-31*(n mod 9)+5*[(n+1) mod 9]+5*[(n+2) mod 9]+5*[(n+3) mod 9]+41*[(n+4) mod 9]+5*[(n+5) mod 9]+5*[(n+6) mod 9]+5*[(n+7) mod 9]+5*[(n+8) mod 9]}, with n>=0. - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 04 2007
G.f. -(1+x+x^2+x^3+x^4) / ( (x-1)*(1+x+x^2)*(x^6+x^3+1) ). - R. J. Mathar, Nov 19 2011
|
|
|
PROG
| (PARI) a(n)=1-n%9\5 \\ Charles R Greathouse IV, Jun 02 2011
|
|
|
CROSSREFS
| Sequence in context: A014064 A014119 A084052 * A059318 A071029 A071030
Adjacent sequences: A130627 A130628 A130629 * A130631 A130632 A130633
|
|
|
KEYWORD
| nonn,easy,less
|
|
|
AUTHOR
| Paul Curtz (bpcrtz(AT)free.fr), Jun 19 2007
|
| |
|
|