OFFSET
1,1
MAPLE
MATHEMATICA
s[p_, u_] := Sum[JacobiSymbol[j, p], {j, 1, u}]; Select[Range[2, 300], (p = Prime[#]; AllTrue[Range[(p - 1)/2], s[p, #] >= 0 &]) &] (* Jean-François Alcover, Mar 07 2016 *)
PROG
(Sage)
@CachedFunction
def A080112(n) :
if 1 == n : return 2
i = A080112(n-1) + 1
while i > 0 :
if A080110(i) > 0 : return i
i += 1
[A080112(n) for n in (1..61)] # Peter Luschny, Aug 09 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 11 2003
STATUS
approved