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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111952 3*n mod 7. 0
0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4, 0, 3, 6, 2, 5, 1, 4 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Period 7: repeat [0, 3, 6, 2, 5, 1, 4].

LINKS

Index to sequences with linear recurrences with constant coefficients, signature (0,0,0,0,0,0,1).

FORMULA

G.f. (3*x+6*x^2+2*x^3+5*x^4+x^5+4*x^6)/(1-x^7).

a(n) = mod(n*(7*n-1)/2, 7) = mod(A022264(n), 7).

PROG

(PARI) a(n)=3*n%7 \\ Charles R Greathouse IV, Jul 23, 2011

CROSSREFS

Sequence in context: A154858 A169837 A160590 * A068466 A194076 A194040

Adjacent sequences:  A111949 A111950 A111951 * A111953 A111954 A111955

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Aug 22 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 14:47 EST 2012. Contains 205623 sequences.