[go: up one dir, main page]

login
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, 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, 1, 1, 1, 1, 1, 0, 0, 0, 0
OFFSET
0,1
FORMULA
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: A014119 A084052 A352677 * A059318 A071029 A071030
KEYWORD
nonn,easy,less
AUTHOR
Paul Curtz, Jun 19 2007
STATUS
approved