|
Search: id:A125495
|
|
|
| A125495 |
|
Composite odious numbers. |
|
+0 1
|
|
| 4, 8, 14, 16, 21, 22, 25, 26, 28, 32, 35, 38, 42, 44, 49, 50, 52, 55, 56, 62, 64, 69, 70, 74, 76, 81, 82, 84, 87, 88, 91, 93, 94, 98, 100, 104, 110, 112, 115, 117, 118, 121, 122, 124, 128, 133, 134, 138, 140, 143, 145, 146, 148, 152, 155, 158, 161, 162, 164, 168, 171
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
49 is in the sequence since it is composite and base 2 representation (110001) has an odd number of 1's.
|
|
MAPLE
|
a:=proc(n) local n2: n2:=convert(n, base, 2): if add(n2[j], j=1..nops(n2)) mod 2 = 1 and isprime(n)=false then n else fi end: seq(a(n), n=2..210); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 01 2007
|
|
CROSSREFS
|
Intersection of A002808 (the composite numbers) and A000069 (odious numbers).
Sequence in context: A027008 A114997 A138634 this_sequence A114971 A036312 A024805
Adjacent sequences: A125492 A125493 A125494 this_sequence A125496 A125497 A125498
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Tanya Khovanova (tanyakh(AT)yahoo.com), Dec 27 2006
|
|
EXTENSIONS
|
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Jan 01 2007
|
|
|
Search completed in 0.002 seconds
|