This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A092412 Fixed point of the morphism 0->11, 1->12, 2->13, 3->10, starting from a(1) = 1. 3
 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 1, 0, 1, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Andrew Howroyd, Table of n, a(n) for n = 1..1024 FORMULA a(n) = A001511(n) mod 4. a(2n+1) = 1; a(2n) = a(n) + 1 mod 4. a(n) == A035263(n) (mod 2); a(n) == A033485(n) (mod 2). Multiplicative with a(2^e) = (1 + e) mod 4, a(p^e) = 1 for odd prime p. - Andrew Howroyd, Aug 06 2018 MATHEMATICA Nest[ Function[ l, {Flatten[(l /. {0 -> {1, 1}, 1 -> {1, 2}, 2 -> {1, 3}, 3 -> {1, 0}})] }], {0}, 7] (* Robert G. Wilson v, Mar 04 2005 *) PROG (PARI) a(n)=(1 + valuation(n, 2)) %4; \\ Andrew Howroyd, Aug 06 2018 CROSSREFS Cf. A001511. Sequence in context: A106406 A123864 A035175 * A265578 A279288 A078734 Adjacent sequences:  A092409 A092410 A092411 * A092413 A092414 A092415 KEYWORD easy,mult,nonn AUTHOR Philippe Deléham, Mar 22 2004 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.

Last modified October 23 18:27 EDT 2018. Contains 316529 sequences. (Running on oeis4.)