login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A144478 Period 9: repeat 1,0,5,7,6,2,4,3,8. 1
1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8, 1, 0, 5, 7, 6, 2, 4, 3, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Essentially the same as A145577.

LINKS

Table of n, a(n) for n=1..54.

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

FORMULA

a(n) = A144390(n) mod 9.

a(9n+2)+a(9n+3)+a(9n+4) = a(9n+5)+a(9n+6)+a(9n+7) = a(9n+8)+a(9n+9)+a(9n+10) = 12.

a(n+4)-a(n+1) = period length 9 (repeat 6,-3,-3,-3,6,-3,-3,-3,6).

a(n)=(1/9)*{8*(n mod 9)-4*[(n+1) mod 9]+2*[(n+2) mod 9]-[(n+3) mod 9]+5*[(n+4) mod 9]+2*[(n+5) mod 9]-[(n+6) mod 9]-4*[(n+7) mod 9]+2*[(n+8) mod 9]}, with n>=0 [From Paolo P. Lava, Oct 13 2008]

PROG

(PARI) a(n)=[1, 0, 5, 7, 6, 2, 4, 3, 8][n%9+1] \\ Charles R Greathouse IV, Jun 02 2011

CROSSREFS

Sequence in context: A303574 A063005 A145577 * A059249 A175294 A196615

Adjacent sequences:  A144475 A144476 A144477 * A144479 A144480 A144481

KEYWORD

nonn,easy,less

AUTHOR

Paul Curtz, Oct 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 October 18 00:21 EDT 2019. Contains 328135 sequences. (Running on oeis4.)