login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067531 Numbers n such that n - number of divisors of n is a prime. 4
5, 6, 7, 13, 15, 16, 19, 21, 27, 31, 33, 35, 43, 51, 57, 61, 65, 73, 77, 87, 93, 103, 105, 109, 111, 135, 139, 141, 143, 151, 155, 161, 165, 177, 181, 183, 185, 189, 193, 199, 201, 203, 215, 229, 231, 237, 241, 245, 267, 271, 275, 283, 285, 287, 313, 321, 335 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Larger of the twin primes (A006512) is a term.
LINKS
EXAMPLE
51 is a term as d(51) = 4 and 51-4 = 47 is a 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
Select[Range[400], PrimeQ[#-DivisorSigma[0, #]]&] (* Harvey P. Dale, May 22 2013 *)
CROSSREFS
Cf. A000005 (number of divisors of n), A006512.
Sequence in context: A006991 A047574 A273929 * A031029 A134985 A371029
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Feb 17 2002
EXTENSIONS
More terms from James A. Sellers, Feb 18 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)