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!)
A103665 Primes p such that the number of divisors of p-1 is greater than the number of divisors of p+1. 7
13, 31, 37, 43, 61, 67, 73, 97, 101, 109, 113, 127, 151, 157, 163, 181, 193, 211, 229, 241, 257, 271, 277, 281, 283, 313, 331, 337, 353, 373, 379, 397, 401, 409, 421, 433, 457, 463, 487, 521, 523, 541, 547, 571, 577, 601, 613, 617, 631, 641, 661, 673, 677 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Mathematica coding by Wouter Meeussen and Robert G. Wilson v.
LINKS
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
Cf. A008328 number of divisors of p-1, A008329 number of divisors of p+1, A103664, A103666, A103667.
Sequence in context: A046414 A023694 A038465 * A040050 A040086 A176181
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Feb 19 2005
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 23 02:23 EDT 2024. Contains 371906 sequences. (Running on oeis4.)