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!)
A134029 Period 9: repeat 3, 2, 4, 1, 5, 1, 4, 2, 3. 0
3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3, 3, 2, 4, 1, 5, 1, 4, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,1).

FORMULA

a(n)=(1/324)*{25*(n mod 9)-11*[(n+1) mod 9]+97*[(n+2) mod 9]-83*[(n+3) mod 9]+169*[(n+4) mod 9]-119*[(n+5) mod 9]+133*[(n+6) mod 9]-47*[(n+7) mod 9]+61*[(n+8) mod 9]}, with n>=0 - Paolo P. Lava, Jan 25 2008

MATHEMATICA

PadRight[{}, 120, {3, 2, 4, 1, 5, 1, 4, 2, 3}] (* Harvey P. Dale, May 16 2019 *)

PROG

(PARI) a(n)=[3, 2, 4, 1, 5, 1, 4, 2, 3][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016

CROSSREFS

Sequence in context: A187760 A122143 A144868 * A117623 A145690 A259053

Adjacent sequences:  A134026 A134027 A134028 * A134030 A134031 A134032

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Jan 11 2008

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 April 14 09:23 EDT 2021. Contains 342948 sequences. (Running on oeis4.)