mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2018-09-01, 10:49   #1
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default factors of 2^k - 1

f(k) = number of [prime] factors of 2^k - 1

Can somebody please help me analyze how f(k) depends on k?

In particular I'd like to know which Ks produce large values for f(k).

Empirically, I have this small list of k with large f(k):
? m=2; for(i=2,300,n=#factor(2^i-1)[,1]; if(n>m, m=n;print(i, " ", n)))
8 3
12 4
20 5
24 6
36 8
48 9
60 11
72 12
120 15
144 17
180 21
288 24
preda is offline   Reply With Quote
Old 2018-09-01, 11:17   #2
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

22·7·53 Posts
Default

Quote:
Originally Posted by preda View Post
f(k) = number of [prime] factors of 2^k - 1

Can somebody please help me analyze how f(k) depends on k?
Use https://en.wikipedia.org/wiki/Zsigmondy%27s_theorem !!!
With that f(k)>=numdiv(k)-2.

Last fiddled with by R. Gerbicz on 2018-09-01 at 11:19 Reason: corrected formula
R. Gerbicz is offline   Reply With Quote
Old 2018-09-01, 12:27   #3
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
Use https://en.wikipedia.org/wiki/Zsigmondy%27s_theorem !!!
With that f(k)>=numdiv(k)-2.
Interesting, thank you!

So you apply Zsigmondy's theorem with a=2 and b=1?
Then it states that 2^k-1 has a factor that doesn't divide any 2^i-1 with i<k.
But how do you progress to numdiv(k)?

I'd also like to understand how f(k) grows with k for the "best" Ks. Maybe this can be approximated with the growth of numdiv(k)?

So, I guess I want to find a simple function g(x) such that
limsup(k->inf, f(k)/g(k)) exists, is finite and >0. (I call g(x) a "sup approximation" of f(x)).

I venture a guess, would sqrt(log(k)) be such a "sup" approximation of f(k)? or sqrt(k) a "sup" approximation for numdiv(k)?

(Apparently, that's one of big-Omega's meanings https://en.wikipedia.org/wiki/Big_O_notation )

Last fiddled with by preda on 2018-09-01 at 12:38 Reason: add big-omega ref
preda is offline   Reply With Quote
Old 2018-09-01, 12:52   #4
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

101110011002 Posts
Default

Quote:
Originally Posted by preda View Post
Interesting, thank you!

So you apply Zsigmondy's theorem with a=2 and b=1?
Then it states that 2^k-1 has a factor that doesn't divide any 2^i-1 with i<k.
But how do you progress to numdiv(k)?
Yes, use a=2,b=1 sort the divisors of k in increasing order: d1=1<d2<...<d_u=k (if k has u divisors), then for any t it is true that 2^d_t-1 | 2^k-1, because d_t | k, but if d_t !=1,6 then with Zsigmondy theorem 2^d_t-1 has a new prime divisor, that doesn't divide 2^x-1 for every x<d_t. With this we'll have at least numdiv(k)-2 distinct prime divisors

Quote:
Originally Posted by preda View Post
I'd also like to understand how f(k) grows with k for the "best" Ks. Maybe this can be approximated with the growth of numdiv(k)?
My guess is that on average we see roughly c*numdiv(k)*log(k) prime divisors of 2^k-1, but if k has lots of divisors, then the magnitude of this is still numdiv(k). To get the growth of numdiv see https://en.wikipedia.org/wiki/Divisor_function, using that for fixed eps>0 we'll have infinitely many n for that
numdiv(n)>2^((1-eps)*log(n)/log(log(n))). [with the base=e]

Last fiddled with by R. Gerbicz on 2018-09-01 at 12:55 Reason: minor typo
R. Gerbicz is offline   Reply With Quote
Old 2018-09-01, 12:59   #5
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3·457 Posts
Default

Quote:
Originally Posted by preda View Post
sqrt(k) a "sup" approximation for numdiv(k)?
According to https://en.wikipedia.org/wiki/Divisor_function
it seems numdiv(k) grows like k^(log(2) / log(log(k))) in the limsup sense. (if I didn't mess something up)

Last fiddled with by preda on 2018-09-01 at 13:05 Reason: I did mess up
preda is offline   Reply With Quote
Old 2018-09-01, 13:09   #6
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

101010110112 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
Yes, use a=2,b=1 sort the divisors of k in increasing order: d1=1<d2<...<d_u=k (if k has u divisors), then for any t it is true that 2^d_t-1 | 2^k-1, because d_t | k, but if d_t !=1,6 then with Zsigmondy theorem 2^d_t-1 has a new prime divisor, that doesn't divide 2^x-1 for every x<d_t. With this we'll have at least numdiv(k)-2 distinct prime divisors
Nice, thanks!
preda is offline   Reply With Quote
Old 2018-09-03, 15:55   #7
chris2be8
 
chris2be8's Avatar
 
Sep 2009

2·1,039 Posts
Default

To maximize the number of algebraic factors of 2^k-1 make k twice a primorial, ie make k 2*2*3*5*7*11*13*... 2 occurs twice because 2^(4n+2)+1 has Aurifeuillian factors (2^(2n-1)-2^n+1) and (2^(2n-1)+2^n+1). Raising odd primes to a higher power will add some more factors but fewer than adding another prime.

Chris
chris2be8 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
ECM factors TObject Data 7 2012-06-13 14:42
Missing factors at the 'Known Factors' page MatWur-S530113 PrimeNet 11 2009-01-21 19:08
factors ATH Prime Cullen Prime 16 2007-07-07 13:02
I need some factors MatWur-S530113 Math 21 2007-05-12 19:36
100 P-1 factors... dave_0273 Marin's Mersenne-aries 5 2004-12-24 12:54

All times are UTC. The time now is 18:44.


Fri Jul 16 18:44:23 UTC 2021 up 49 days, 16:31, 1 user, load averages: 5.53, 5.42, 4.82

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.