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!)
A101650 A Thue-Morse-Stern sequence. 3
0, 0, 1, 0, 2, 1, 2, 0, 0, 2, 1, 1, 1, 2, 0, 0, 1, 0, 0, 2, 1, 1, 0, 1, 0, 1, 1, 2, 0, 0, 1, 0, 2, 1, 2, 0, 1, 0, 0, 2, 1, 1, 0, 1, 2, 0, 2, 1, 2, 0, 2, 1, 0, 1, 1, 2, 0, 0, 1, 0, 2, 1, 2, 0, 0, 2, 1, 1, 1, 2, 0, 0, 2, 1, 2, 0, 1, 0, 0, 2, 1, 1, 0, 1, 2, 0, 2, 1, 1, 2, 0, 0, 0, 2, 1, 1, 1, 2, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

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

LINKS

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

FORMULA

a(n)=mod(-1+sum{k=0..floor(n/2), mod(binomial(n-k, k), 2)}, 3); a(n)=mod(-1+A002487(n+1), 3).

CROSSREFS

Cf. A010060.

Sequence in context: A091952 A108803 A050601 * A287411 A053796 A029391

Adjacent sequences:  A101647 A101648 A101649 * A101651 A101652 A101653

KEYWORD

easy,nonn

AUTHOR

Paul Barry, Dec 10 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 21 02:02 EST 2020. Contains 332086 sequences. (Running on oeis4.)