|
Search: id:A157970
|
|
|
| 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
|
|
|
Search completed in 0.002 seconds
|