OFFSET
1,1
EXAMPLE
PROG
(PARI) A354200(n) = if(1==n, 5, my(p=prime(n), m=p%4); forprime(q=1+p, , if(m==(q%4), return(q))));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 23 2022
STATUS
approved