login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

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

0,2

COMMENTS

Disordered, three times 1, 2, 4, 5, 7, 8.

LINKS

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

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

FORMULA

Sum of digits mod 9 of 1, 4, 7, 11, 20, A130625. Digits of 1/7, A020806 or A029898, 1, 1, 2, 4, 8.

a(n)=(1/306)*{128*(n mod 18)+9*[(n+1) mod 18]-42*[(n+2) mod 18]-8*[(n+3) mod 18]+60*[(n+4) mod 18]+9*[(n+5) mod 18]-76*[(n+6) mod 18]+60*[(n+7) mod 18]+60*[(n+8) mod 18]-110*[(n+9) mod 18]+9*[(n+10) mod 18]+60*[(n+11) mod 18]+26*[(n+12) mod 18]-42*[(n+13) mod 18]+9*[(n+14) mod 18]+94*[(n+15) mod 18]-42*[(n+16) mod 18]-42*[(n+17) mod 18]}, with n>=0 - Paolo P. Lava, Dec 19 2007

MATHEMATICA

PadRight[{}, 18*5, {1, 4, 7, 2, 2, 5, 4, 1, 1, 8, 5, 2, 7, 7, 4, 5, 8, 8}] (* Harvey P. Dale, Nov 06 2011 *)

PROG

(PARI) for(i=1, 9, print1("1, 4, 7, 2, 2, 5, 4, 1, 1, 8, 5, 2, 7, 7, 4, 5, 8, 8, ")) \\ Charles R Greathouse IV, Jun 02 2011

CROSSREFS

Sequence in context: A257817 A246710 A139346 * A201403 A011351 A132026

Adjacent sequences:  A133387 A133388 A133389 * A133391 A133392 A133393

KEYWORD

nonn,easy,less

AUTHOR

Paul Curtz, Nov 23 2007

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 January 21 16:54 EST 2020. Contains 331114 sequences. (Running on oeis4.)