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

 

Logo


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

0,2

LINKS

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

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

FORMULA

a(n)=(1/5)*{4*(n mod 10)+[(n+1) mod 10]-2*[(n+2) mod 10]+2*[(n+3) mod 10]-3*[(n+4) mod 10]+3*[(n+5) mod 10]+[(n+6) mod 10]-[(n+7) mod 10]} - Paolo P. Lava, Apr 22 2008

MATHEMATICA

PadRight[{}, 120, {1, 2, 3, 6, 5, 0, 7, 4, 9, 8}] (* Harvey P. Dale, Aug 20 2012 *)

PROG

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

CROSSREFS

Sequence in context: A098282 A034855 A105214 * A011159 A091556 A299207

Adjacent sequences:  A136312 A136313 A136314 * A136316 A136317 A136318

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Mar 24 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 20:44 EST 2018. Contains 317278 sequences. (Running on oeis4.)