OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MAPLE
isA000079 := proc(n) RETURN( n=1 or numtheory[factorset](n) = {2}) ; end: A165318 := proc(n) if n = 1 then 2; else p := nextprime(procname(n-1)) ; while not isA000079(numtheory[tau](p-1)) do p := nextprime(p) ; od; p ; fi; end: seq(A165318(n), n=1..90) ; # R. J. Mathar, Sep 18 2009
MATHEMATICA
Select[Prime[Range[200]], IntegerQ[Log[2, DivisorSigma[0, #-1]]]&] (* Harvey P. Dale, Oct 14 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Sep 14 2009
EXTENSIONS
More terms from R. J. Mathar, Sep 18 2009
STATUS
approved