OFFSET
1,2
COMMENTS
Other than the first three terms the only other primes in the first 500000 terms are the consecutive terms a(24)..a(30) = 5, 7, 11, 13, 17, 19, 23. It is unknown if more exist.
In the same range the fixed points are 1, 2, 3, 4, and 48559, although it is possible more exist.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000
Scott R. Shannon, Image of the first 200000 terms. The green line is a(n) = n.
EXAMPLE
PROG
(Python)
from sympy import primeomega
from itertools import count, islice
def A362077_gen(): # generator of terms
a, b = {1, 2}, 2
yield from (1, 2)
while True:
for b in count(p:=primeomega(b), p):
if b not in a:
yield b
a.add(b)
break
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Apr 08 2023
STATUS
approved