login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..44.

Index entries for 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, 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, Jun 19 2007

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 18:48 EDT 2020. Contains 334854 sequences. (Running on oeis4.)