OFFSET
1,2
COMMENTS
As the sequence is infinite no term, except a(1), can be a power of 2.
In the first 100000 terms the fixed points are 1, 14, 728 and 2987, although more likely exist.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 100000 terms. The thin green line is a(n) = n.
EXAMPLE
a(10) = 30 as 30 is unused, shares a factor with a(9) = 20, and R(30,2) = R(11110_2,2) = 1111_2 = 15 shares a factor with R(20,2) = R(10100_2,2) = 101_2 = 5.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Apr 15 2026
STATUS
approved
