OFFSET
1,2
PROG
(PARI) firstdiving(n) = {s=0; for(k=1, n, s=s+kronecker(k, n); if(s<0, return(k))); return(0)}
for(n=1, 500, if((0==firstdiving(n)), print1(n, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 06 2013
STATUS
approved