OFFSET
1,2
COMMENTS
Smaller of the twin primes (A001359) is a term.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
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 *)
PROG
(PARI) isok(k) = isprime(k + numdiv(k)); \\ Amiram Eldar, Jan 27 2025
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