OFFSET
1,1
COMMENTS
a(n) is the smallest odd prime p such that Kronecker(-n,p) = -1.
A companion sequence to A144294.
Conjecture: lim sup log(a(n))/log(n) = 0.
FORMULA
a(n) = 3 if and only if n == 1 (mod 3).
a(n) = 5 if and only if n == 2, 3, 8, 12 (mod 15).
PROG
(PARI) a(n) = forprime(p=3, , if(kronecker(-n, p)<0, return(p)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Jianing Song, Jan 30 2019
STATUS
approved