OFFSET
1,1
COMMENTS
Mathematica coding by Wouter Meeussen and Robert G. Wilson v.
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=13 because d(12)=6 > d(14)=4.
MATHEMATICA
Select[Prime[Range[2, 140]], Length[Divisors[ # - 1]] > Length[Divisors[ # + 1]] &]
Select[Prime[Range[200]], DivisorSigma[0, #-1]>DivisorSigma[0, #+1]&] (* Harvey P. Dale, Aug 21 2022 *)
PROG
(PARI)
forprime (k=2, 700, if(numdiv(k-1)>numdiv(k+1), print1(k, ", ")))
\\ Hugo Pfoertner, Nov 30 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Feb 19 2005
STATUS
approved