OFFSET
1,2
COMMENTS
The sequence is conjectured to be a permutation of the positive integers, although it takes many terms for the primes to appear, e.g., a(63784) = 23.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 100000 terms. The green line is a(n) = n.
EXAMPLE
a(7) = 4 as 2 is the smallest prime that does not divide a(6)*7 = 5*7 = 35, and 4 = 2*2 is the smallest multiple of 2 that has not yet appeared.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Jan 18 2024
STATUS
approved