|
| |
|
|
A161607
|
|
Positive integers n that are coprime to the value of the reversal of n's representation in binary.
|
|
1
| |
|
|
1, 2, 4, 8, 11, 13, 16, 19, 22, 23, 25, 26, 29, 32, 37, 38, 41, 43, 44, 46, 47, 50, 52, 53, 55, 58, 59, 61, 64, 67, 71, 74, 76, 77, 79, 82, 83, 86, 88, 89, 91, 92, 94, 97, 100, 101, 103, 104, 106, 109, 110, 113, 115, 116, 118, 121, 122, 128, 131, 134, 137, 139, 142, 143
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| By "reversal" of n's representation in binary, it is meant: write n in binary (without its leading 0's) from most significant digits on the right and least significant digits on the left, instead of writing n from left to right as is usual. Then interpret the new integer by reading it from left to right.
|
|
|
MAPLE
| A030101 := proc(n) local bdgs; bdgs := convert(n, base, 2) ; add( op(-i, bdgs)*2^(i-1), i=1..nops(bdgs)) ; end: A161607 := proc(n) option remember ; local a; if n = 1 then 1; else for a from procname(n-1)+1 do if gcd(A030101(a), a) = 1 then RETURN(a) ; fi; od: fi; end: seq(A161607(n), n=1..100) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 04 2009]
|
|
|
CROSSREFS
| A030101
Sequence in context: A137288 A116443 A078649 * A022442 A056689 A034037
Adjacent sequences: A161604 A161605 A161606 * A161608 A161609 A161610
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Leroy Quet, Jun 14 2009
|
|
|
EXTENSIONS
| More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 04 2009
|
| |
|
|