OFFSET
1,1
EXAMPLE
x=581 is a term because prime(581) = 4211 = 106*40 + 1 = 40*pi(581) + 1.
PROG
(PARI) isok(m) = if (m>1, prime(m) % primepi(m) == 1); \\ Michel Marcus, Mar 04 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 15 2001
STATUS
approved