OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
9 is a term of this sequence as prime(9) mod 9 = 5, which is prime.
MATHEMATICA
Table[If[PrimeQ[Mod[Prime[k], k]], k, Nothing], {k, 1, 100}]
PROG
(Python)
from sympy import prime, isprime
a363751=[]
for k in range(1, 101):
if isprime(prime(k)%k):
a363751.append(k)
(PARI) isok(k) = isprime(prime(k) % k); \\ Michel Marcus, Jun 19 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Nicholas Leonard, Jun 19 2023
STATUS
approved