OFFSET
1,1
COMMENTS
In other words, for any n > 0, the binary expansions of 1/n and of 1/a(n) have no common one bit; in this sense, this sequence is similar to A238757.
This sequence is a self-inverse permutation of the positive integers.
LINKS
Rémy Sigrist, C++ program
Rémy Sigrist, PARI program
EXAMPLE
The first terms, alongside the binary expansions of 1/n and 1/a(n) (with periodic parts in parentheses), are:
n a(n) bin(1/n) bin(1/a(n))
-- ---- -------------- -----------
1 2 1.(0) 0.1(0)
2 1 0.1(0) 1.(0)
3 6 0.(01) 0.0(01)
4 5 0.01(0) 0.(0011)
5 4 0.(0011) 0.01(0)
6 3 0.0(01) 0.(01)
7 14 0.(001) 0.0(001)
8 9 0.001(0) 0.(000111)
9 8 0.(000111) 0.001(0)
10 40 0.0(0011) 0.000(0011)
11 32 0.(0001011101) 0.00001(0)
12 24 0.00(01) 0.000(01)
PROG
(C++) See Links section.
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 13 2023
STATUS
approved