OFFSET
1,1
FORMULA
a(n) = prime(A105286(n)+1).
EXAMPLE
prime(11) = 31 and 11-1 divides 31-1, so 31 is a term.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Chai Wah Wu, Dec 14 2022
STATUS
approved