OFFSET
1,2
COMMENTS
The sequence is conjectured to be a permutation of the positive integers. The fixed points begin 1, 2, 95, 122, 156, 318, 1644, 1964, 2189, 2740, 8264, 16904, ... although it is likely there are infinitely more.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 250000 terms. The green line is a(n) = n.
EXAMPLE
a(3) = 10 as a(2) - a(1) = 2 - 1 = 1, and 10 is the smallest unused number to contain 1.
a(11) = 67 as a(10) - a(9) = 100 - 24 = 76, and 67 is the smallest unused number to contain 7 and 6.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Dec 30 2023
STATUS
approved