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

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

0,1

FORMULA

O.g.f.: (1+x+x^2-x^3-x^4-x^5)/(3*(x^6+x^3+1))-13/(3*(x-1))+(1-x)/(3*(x^2+x+1)).

a(n)=(1/108)*{13*(n mod 9)+[(n+1) mod 9]+25*[(n+2) mod 9]+[(n+3) mod 9]+[(n+4) mod 9]+25*[(n+5) mod 9]+25*[(n+6) mod 9]+[(n+7) mod 9]+25*[(n+8) mod 9]}, with n>=0 - Paolo P. Lava (paoloplava(AT)gmail.com), Jul 03 2008

MATHEMATICA

PadRight[{}, 108, {5, 4, 5, 4, 3, 4, 5, 4, 5}] (* From Harvey P. Dale, Nov 09 2011 *)

CROSSREFS

Cf. A131291.

Sequence in context: A160789 A131291 A131369 * A093348 A001050 A113784

Adjacent sequences:  A122216 A122217 A122218 * A122220 A122221 A122222

KEYWORD

nonn

AUTHOR

R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 27 2008, Apr 17 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 01:29 EST 2012. Contains 205860 sequences.