login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A067532
Numbers n such that n + number of divisors is a prime.
3
1, 3, 4, 5, 11, 15, 17, 27, 29, 33, 39, 41, 55, 57, 59, 64, 69, 71, 85, 93, 100, 101, 105, 107, 123, 133, 137, 145, 149, 159, 165, 175, 177, 179, 187, 189, 191, 197, 219, 227, 231, 235, 237, 239, 245, 247, 253, 255, 259, 265, 267, 269, 273, 275, 281, 285, 303
OFFSET
1,2
COMMENTS
Smaller of the twin primes (A001359) is a term.
LINKS
EXAMPLE
a(1)=1 (1+d(1)=1+1=2=prime); a(2)=3 (3+d(3)=3+2=5=prime).
MAPLE
with(numtheory): for n from 3 to 500 do if isprime(n+tau(n)) then printf(`%d, `, n) fi:od: # James A. Sellers, Feb 18 2002
MATHEMATICA
a067532[n_] := Select[Range[n], PrimeQ[# + DivisorSigma[0, #]] &]; a067532[303] (* Michael De Vlieger, Dec 22 2014 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Feb 17 2002
EXTENSIONS
More terms from James A. Sellers, Feb 18 2002
Sequence corrected by Juri-Stepan Gerasimov, Oct 18 2009
Offset corrected by N. J. A. Sloane, Oct 21 2009
Corrected by Charles R Greathouse IV, Mar 19 2010
STATUS
approved