Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A102391
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A102391 Evil numbers in evil places. +0
3
0, 0, 0, 3, 0, 5, 6, 0, 0, 9, 10, 0, 12, 0, 0, 15, 0, 17, 18, 0, 20, 0, 0, 23, 24, 0, 0, 27, 0, 29, 30, 0, 0, 33, 34, 0, 36, 0, 0, 39, 40, 0, 0, 43, 0, 45, 46, 0, 48, 0, 0, 51, 0, 53, 54, 0, 0, 57, 58, 0, 60, 0, 0, 63, 0, 65, 66, 0, 68, 0, 0, 71, 72, 0, 0, 75, 0, 77, 78, 0, 80, 0, 0, 83, 0, 85 (list; graph; listen)
OFFSET

0,4

COMMENT

Evil numbers A001969(n) appear at positions indexed by the evil numbers, 0 otherwise. A001477(n)=A102391(n)+A102392(n).

FORMULA

a(n)=if((1+floor(n/2))(1+(-1)^A000120(n))/2=0, 0, n); a(n)=if((1+floor(n/2))(1+(-1)^A010060(n))/2=0, 0, n).

CROSSREFS

Sequence in context: A159060 A021770 A004589 this_sequence A038556 A052483 A019915

Adjacent sequences: A102388 A102389 A102390 this_sequence A102392 A102393 A102394

KEYWORD

easy,nonn

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Jan 06 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research