![]() |
![]() |
#1 |
"Sam"
Nov 2016
2×163 Posts |
![]()
For some integer N chosen at random, what is the probability that N has a prime factor > sqrt(N)? This also includes when N is prime, therefore the probability is greater than 1/ln(N).
Furthermore, what's the probability that N has a prime factor > N^(1/k) ? Thanks for any new leads. |
![]() |
![]() |
![]() |
#3 |
(loop (#_fork))
Feb 2006
Cambridge, England
6,379 Posts |
![]() Code:
c=0;for(t=10^12,10^12+10^6,F=factor(t);lp=F[matsize(F)[1],1];if(lp*lp<=t,c=1+c)); c Code:
1e6 270639 1e8 276912 1e10 282202 1e12 286014 1e14 288791 1e16 291417 1e18 293196 1e20 294238 Last fiddled with by fivemack on 2019-08-21 at 10:21 |
![]() |
![]() |
![]() |
#4 | |
"Robert Gerbicz"
Oct 2005
Hungary
1,429 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Probability of factor (TF) | nuggetprime | Math | 2 | 2011-03-19 22:14 |
Probability of n-digit factor? | roger | Factoring | 3 | 2007-05-09 22:51 |
Probability of finding a factor | JuanTutors | Software | 20 | 2004-09-26 09:47 |
Probability of finding a factor in TF | eepiccolo | Math | 4 | 2003-06-07 05:56 |
Probability of finding a factor in DC p-1 | Deamiter | Math | 4 | 2002-12-25 06:06 |