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

1,1

COMMENTS

Also the decimal expansion of 378737078073678400/111111111111111111 .

LINKS

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

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

FORMULA

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

G.f.: -(3+4*x+8*x^3+6*x^4+3*x^5+3*x^6+7*x^7+2*x^9+6*x^10+6*x^11+3*x^12+x^13+5*x^15+6*x^16) / ((x-1) * (1+x+x^2) * (1+x^3+x^6) * (1+x) * (1-x+x^2) * (1-x^3+x^6)).

a(n)=(1/306)*{-44*(n mod 18)+109*[(n+1) mod 18]-10*[(n+2) mod 18]-78*[(n+3)

mod 18]+24*[(n+4) mod 18]+41*[(n+5) mod 18]+58*[(n+6) mod 18]+7*[(n+7)

mod 18]-61*[(n+8) mod 18]-27*[(n+9) mod 18]+126*[(n+10) mod 18]-61*[(n+11)

mod 18]+7*[(n+12) mod 18]+58*[(n+13) mod 18]+41*[(n+14) mod 18]-129*[(n+15)

mod 18]+75*[(n+16) mod 18]-10*[(n+17) mod 18]}, with n>=0 - Paolo P. Lava, Mar 27 2009

PROG

(PARI) a(n)=[0, 3, 4, 0, 8, 6, 3, 3, 7, 0, 2, 6, 6, 3, 1, 0, 5, 6][n%18+1] \\ Charles R Greathouse IV, Jul 17 2016

CROSSREFS

Sequence in context: A215079 A049251 A308642 * A213280 A056862 A113035

Adjacent sequences:  A158671 A158672 A158673 * A158675 A158676 A158677

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Mar 24 2009

EXTENSIONS

References to apparently unrelated sequences removed - R. J. Mathar, Mar 02 2010)

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 February 21 04:39 EST 2020. Contains 332086 sequences. (Running on oeis4.)