Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A157970
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A157970 Evil twin locations: first members of pairs of consecutive evil numbers. +0
2
5, 9, 17, 23, 29, 33, 39, 45, 53, 57, 65, 71, 77, 85, 89, 95, 101, 105, 113, 119, 125, 129, 135, 141, 149, 153, 159, 165, 169, 177, 183, 189, 197, 201, 209, 215, 221, 225, 231, 237, 245, 249, 257, 263, 269, 277, 281, 287, 293, 297 (list; graph; listen)
OFFSET

1,1

COMMENT

An evil number (A001969) is a non-negative integer with an even number of ones in its binary expansion.

In the reference it is shown that these evil twins alternate with the odious twins (see A157971), which are pairs of consecutive odious numbers (A000069) having an odd number of ones in their binary expansions).

REFERENCES

Chris Bernhardt, "Evil Twins Alternate with Odious Twins", Math. Mag. 82 (2009) 57-62.

LINKS

Eric Weisstein's World of Mathematics, Odious Number

EXAMPLE

The sequence of evil numbers (A001969) begins 0,3,5,6,9,10,12,15,17,18,20,..., so the first few evil twins are 5, 9, 17, ... .

CROSSREFS

A000069, A001969, A157971.

Sequence in context: A022341 A095725 A005006 this_sequence A054278 A080335 A089109

Adjacent sequences: A157967 A157968 A157969 this_sequence A157971 A157972 A157973

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Mar 10 2009

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 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research