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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A146082 a(n) = A146081(n) mod 9. 1
2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0, 2, 4, 6, 8, 1, 3, 5, 7, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

A periodic double sawtooth pattern of positive even and odd numbers.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = A131669(n+2)-1.

Period length 9: a(n+9)=a(n).

a(n) = (1/9)*{-(n mod 9)+8*[(n+1) mod 9]-[(n+2) mod 9]-[(n+3) mod 9]-[(n+4) mod 9]+8*[(n+5) mod 9]-[(n+6) mod 9]-[(n+7) mod 9]-[(n+8) mod 9]}, with n>=0. - Paolo P. Lava, Nov 06 2008

a(n) = (74*n + 110) mod 9. - G. C. Greubel, Jan 29 2016

MATHEMATICA

a := LinearRecurrence[{2, -1}, {110, 184}, 100];

Mod[a, 9] (* G. C. Greubel, Jan 29 2016 *)

PadRight[{}, 120, {2, 4, 6, 8, 1, 3, 5, 7, 0}] (* Harvey P. Dale, Sep 18 2016 *)

PROG

(MAGMA) &cat[[2, 4, 6, 8, 1, 3, 5, 7, 0]^^10]; // Vincenzo Librandi, Jan 30 2016

CROSSREFS

Sequence in context: A036211 A127353 A032763 * A169909 A180592 A004092

Adjacent sequences:  A146079 A146080 A146081 * A146083 A146084 A146085

KEYWORD

nonn

AUTHOR

Paul Curtz, Oct 27 2008

EXTENSIONS

Edited by R. J. Mathar, Dec 08 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 03:11 EDT 2019. Contains 323539 sequences. (Running on oeis4.)