![]() |
|
|
#628 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#629 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
I think I might have already been answered here.. But is there any function which gives the percentage of whole numbers that have no prime divisors ≤ n?
If I've already been answered, link me to the post which answers this. Is it (p(n)/(euler's totient(p(n)))? Where p(n) represents the nth primorial number. Last fiddled with by 3.14159 on 2010-09-22 at 23:40 |
|
|
|
|
|
#630 | |
|
Aug 2006
135338 Posts |
Quote:
|
|
|
|
|
|
|
#631 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
|
|
|
|
|
|
#632 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Code:
estimatePrimes(N,t,n,L)=my(lambda=(t/log(N))*(exp(Euler)*log(L)));(lambda^n*exp(-lambda))/n!; so how to manipulate for a formula for n with N,t,l and p I can get as far as plugging them into this. but I don't know how to get n from it. |
|
|
|
|
|
#633 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
reducing it to basic variables
Code:
p = ((t/log(N))*(exp(Euler)*log(L))^n*exp(-((t/log(N))*(exp(Euler)*log(L)))))/n!; |
|
|
|
|
|
#634 | |
|
Aug 2006
135338 Posts |
Quote:
Post the formulas and let's see how far you can get in solving it. I'll post half of the unsolved equation (the other half is the definition of lambda): This is the special case I asked about: n = 0 (finding 0 primes with probability 1%). Last fiddled with by CRGreathouse on 2010-09-23 at 01:03 |
|
|
|
|
|
|
#635 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Quote:
|
|
|
|
|
|
|
#636 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
with the original form i can get as far as:
Code:
p/exp(-lambda)=lambda^n/n! why I said trouble with log is it can go to Code:
log(p*n!/exp(-lambda))/log(lambda)=n Last fiddled with by science_man_88 on 2010-09-23 at 01:36 |
|
|
|
|
|
#637 |
|
Aug 2006
175B16 Posts |
|
|
|
|
|
|
#638 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
in your special case p = Last fiddled with by science_man_88 on 2010-09-23 at 11:23 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Prime posting thread, part 2. (With a catch.) | 3.14159 | Miscellaneous Math | 55 | 2010-11-19 23:55 |
| Tiny range request .... 555.1M | petrw1 | LMH > 100M | 1 | 2010-07-13 15:35 |
| Other primes thread | nuggetprime | No Prime Left Behind | 32 | 2009-10-21 21:48 |
| Error: tiny factoring failed | 10metreh | Msieve | 26 | 2009-03-08 23:28 |
| Tiny error on nfsnet pages. | antiroach | NFSNET Discussion | 1 | 2003-07-08 00:27 |