OFFSET
1,1
COMMENTS
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..10000
MATHEMATICA
sdef[n_] := Total@Select[Divisors@n, DivisorSigma[-1, #] < 2 &]; ric[n_, lap_] := Block[{s, m, p = NextPrime@lap}, m = n*p; While[(s = sdef@m) <= Lim, T[[s]] = 1; ric[m, p]; m *= p; While[(s = sdef@m) <= Lim, T[[s]] = 1; ric[m, p]; m *= p]; p = NextPrime@p; m = n*p]]; seqTo[n_] := (Lim = n; T = 0 Range[n]; T[[1]] = 1; ric[1, 1]; Flatten@Position[T, 0]); seqTo[159] (* Giovanni Resta, Feb 20 2013 *)
PROG
(PARI) v=vector(10^7); for(i=1, 10^7, if(sigma(i)<i+i, v[i]=1)); m=vector(1799); for(i=1, 10^7, d=divisors(i); s=1; for(j=2, numdiv(i), if(v[d[j]]==1, s=s+d[j])); if(s<=1799, m[s]=1)); c=0; for(i=1, 1799, if(m[i]==0, c++; write("b210510.txt", c " " i))) /* Donovan Johnson, Feb 20 2013 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Timothy L. Tiffin, Jan 25 2013
STATUS
approved