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!)
A258429 Primes p such that p - 1 = (tau(p - 1) - 1)^k for some k >= 0, where tau(n) is the number of divisors of n (A000005). 3

%I #14 Sep 08 2022 08:46:12

%S 2,5,17,65537

%N Primes p such that p - 1 = (tau(p - 1) - 1)^k for some k >= 0, where tau(n) is the number of divisors of n (A000005).

%C Conjecture: the sequence is finite.

%C Corresponding values of numbers k: 0, 2, 2, 4, ...

%C A fermat prime from A019434 of the form F(n) = 2^(2^n) + 1 is a term if k = 2^n * log(2) / log(2^n) is an integer.

%e 65537 (prime) is in the sequence because 65537 - 1 = (tau(65536) - 1)^4 = 16^4.

%o (Magma) [2] cat [n+1: n in [A219338(n)] | IsPrime(n+1)]

%o (Magma) Set(Sort([n: n in[1..1000000], k in [0..100] | IsPrime(n) and (n-1) eq (NumberOfDivisors(n-1) - 1)^k]))

%o (PARI) listp(nn) = {print1(p=2, ", "); forprime(p=5, nn, expo = valuation(x=(p-1), y=(numdiv(p-1)-1)); if (x == y^expo, print1(p, ", ")););} \\ _Michel Marcus_, Jun 04 2015

%Y Cf. A000005, A019434, A219338, A007516, A004249, A249759.

%K nonn

%O 1,1

%A _Jaroslav Krizek_, May 29 2015

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 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)