login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A153509 Period 9: repeat [6, 6, 6, 3, 3, 3, 0, 0, 0]. 0
6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3, 0, 0, 0, 6, 6, 6, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: 3*(2+x^3)/((1-x)*(1+x^3+x^6)). - R. J. Mathar, Jan 21 2009
a(n) = 3*((3-floor((n+3)/3)) mod 3). - Wesley Ivan Hurt, Apr 27 2020
MATHEMATICA
PadRight[{}, 9*12, {6, 6, 6, 3, 3, 3, 0, 0, 0}] (* Harvey P. Dale, Dec 17 2012 *)
PROG
(PARI) a(n)=[6, 6, 6, 3, 3, 3, 0, 0, 0][n%9+1] \\ Charles R Greathouse IV, Jul 13 2016
CROSSREFS
Cf. A130851.
Sequence in context: A172360 A175288 A349187 * A248093 A361006 A292091
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Dec 28 2008
EXTENSIONS
More periods from R. J. Mathar, Jan 21 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)