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!)
A089652 Partial sums, modulo 4, of the sequence: a(1)=1, a(1), a(1), a(1), a(1), a(2), a(2), a(2), a(2), a(3), a(3), a(3), a(3), a(4), ... each term (not a(1)) repeated 4 times. 0
1, 2, 3, 0, 1, 3, 1, 3, 1, 0, 3, 2, 1, 1, 1, 1, 1, 2, 3, 0, 1, 0, 3, 2, 1, 2, 3, 0, 1, 0, 3, 2, 1, 2, 3, 0, 1, 1, 1, 1, 1, 0, 3, 2, 1, 3, 1, 3, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 3, 1, 3, 1, 0, 3, 2, 1, 1, 1, 1, 1, 2, 3, 0, 1, 1, 1, 1, 1, 0, 3, 2, 1, 3, 1, 3, 1, 2, 3, 0, 1, 3, 1, 3, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

Index entries for sequences that are fixed points of mappings

FORMULA

A fixed point of the mapping 1->1230, 2->1313, 3->1032, 0->1111.

MATHEMATICA

Nest[ Function[ l, {Flatten[(l /. {0 -> {1, 1, 1, 1}, 1 -> {1, 2, 3, 0}, 2 -> {1, 3, 1, 3}, 3 -> {1, 0, 3, 2}})] }], {1}, 4] (* Robert G. Wilson v, Mar 04 2005 *)

CROSSREFS

Sequence in context: A221321 A179392 A106730 * A195467 A112168 A072516

Adjacent sequences:  A089649 A089650 A089651 * A089653 A089654 A089655

KEYWORD

easy,nonn

AUTHOR

Philippe Deléham, Jan 02 2004

EXTENSIONS

More terms from Robert G. Wilson v, Mar 04 2005

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 July 8 08:08 EDT 2020. Contains 335520 sequences. (Running on oeis4.)