OFFSET
1,3
COMMENTS
In other words, a(n) is the least k > 0 such that floor((2^i) / k) mod A062383(n) = n for some integer i >= 0.
This sequence is similar to A035335 for the base 2.
All terms are odd.
All terms appears infinitely many times (as a(n) equals at least a(2*n) or a(2*n + 1)).
See also A300475 for a similar sequence.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..8191
Rémy Sigrist, PARI program for A300428
FORMULA
EXAMPLE
The first terms, alongside the binary representation of 1/a(n) with the earliest occurrence of the binary representation of n in parentheses, are:
n a(n) bin(1/a(n))
-- ---- -----------
1 1 (1).000...
2 1 (1.0)000...
3 5 0.00(11)001...
4 1 (1.00)000...
5 3 0.0(101)010...
6 5 0.00(110)011...
7 9 0.000(111)000...
8 1 (1.000)000...
9 5 0.001(1001)100...
10 3 0.0(1010)101...
11 11 0.000(1011)101...
12 5 0.00(1100)110...
13 11 0.000101(1101)000...
14 9 0.000(1110)001...
15 17 0.0000(1111)000...
16 1 (1.0000)000...
17 9 0.00011(10001)110...
18 7 0.00(10010)010...
19 5 0.001(10011)001...
20 11 0.0001011(10100)010...
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Mar 05 2018
STATUS
approved