OFFSET
1,2
COMMENTS
This sequence is similar to the EKG sequence A064413 with the additional restriction that each term must share a single 1-bit in common with the previous term in their binary expansions. These restrictions lead to numerous terms being significantly larger than their preceding term, while the smaller terms overall show similar behavior to A109812. See the linked image. Unlike A064413 the primes do not occur in their natural order and both the proceeding and following terms of the primes can be large multiples of the prime.
In the first 100000 terms the fixed points are 1, 3, 30, 38, 350, 1603, 1936, 10176, 11976, 46123, 58471, 89870, although it is likely more exist. In the same range the lowest unseen number is 1019; the sequence is conjectured to be a permutation of the positive integers.
LINKS
Scott R. Shannon, Image of the first 100000 terms for values less than 200000. The green line is y = n.
EXAMPLE
a(6) = 8 as a(5) = 10, 8 = 1000_2, 10 = 1010_2, and 8 is the smallest unused number that shares a common factor with 10 and has a single 1-bit in common with 10 in their binary expansions. Note that 4 satisfies the first criterion but not the second.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, May 17 2022
STATUS
approved