OFFSET
1,1
COMMENTS
Primes p that there is no such k for which k - d(k) = p, where d(k) is the number of divisors of k (A000005).
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..15383
MATHEMATICA
lim = 10000; s = Select[Complement[Range@ lim, Sort@ DeleteDuplicates@ Table[n - DivisorSigma[0, n], {n, lim}]], PrimeQ]; Take[s, 76] (* Michael De Vlieger, Oct 13 2015 *)
PROG
(PARI)
allocatemem(123456789);
v060990 = vector(uplim1);
for(n=3, uplim1, v060990[n-numdiv(n)]++);
A060990 = n -> if(!n, 2, v060990[n]);
n=0; forprime(p=2, 524287, if((0 == A060990(p)), n++; write("b263091.txt", n, " ", p)));
(Scheme, with Antti Karttunen's IntSeq-library)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 11 2015
STATUS
approved