OFFSET
1,1
LINKS
Richard N. Smith, Table of n, a(n) for n = 1..4096
FORMULA
PROG
(PARI) a(n) = my(i=0); forprime(p=2, oo, i+=kronecker(n, p); if(i>0, return(p))) \\ after Jianing Song in A306499
CROSSREFS
KEYWORD
nonn
AUTHOR
Richard N. Smith, Jul 15 2019
STATUS
approved