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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102394 A wicked odious sequence. 2
0, 2, 3, 0, 5, 0, 0, 8, 9, 0, 0, 12, 0, 14, 15, 0, 17, 0, 0, 20, 0, 22, 23, 0, 0, 26, 27, 0, 29, 0, 0, 32, 33, 0, 0, 36, 0, 38, 39, 0, 0, 42, 43, 0, 45, 0, 0, 48, 0, 50, 51, 0, 53, 0, 0, 56, 57, 0, 0, 60, 0, 62, 63, 0, 65, 0, 0, 68, 0, 70, 71, 0, 0, 74, 75, 0, 77, 0, 0, 80, 0, 82, 83, 0, 85, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

Odious numbers plus one (A000069(n)+1) appear at positions indexed by the odious numbers, 0 otherwise. A000027(n)=A102393(n)+A102394(n).

FORMULA

a(n)=(n+1)(1-(-1)^A000120(n))/2; a(n)=(n+1)(1-(-1)^A010060(n))/2.

CROSSREFS

Cf. A102392.

Sequence in context: A121598 A140326 A126436 * A085563 A071375 A061397

Adjacent sequences:  A102391 A102392 A102393 * A102395 A102396 A102397

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Jan 06 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 16 09:00 EST 2012. Contains 205904 sequences.