mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2010-09-22, 17:00   #606
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
So now can you write a different function that takes a limit L, base b, an exponent e, and a k-range kmin,kmax and determines
1. The expected number of candidates remaining after sieving to L?
2. The number of primes in the range? (Use your estimatePrimes function.)
I'll try but I'm not promising anything yet lol.

well k*b^e +1 ? I can make a limit variable that's not too hard

Last fiddled with by science_man_88 on 2010-09-22 at 17:15
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 17:01   #607
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Cool

Quote:
Originally Posted by science_man_88 View Post
I'll try but I'm not promising anything yet lol.
Of course. But you've already built a useful tool; I'm just trying to get you to make another.
CRGreathouse is offline   Reply With Quote
Old 2010-09-22, 17:31   #608
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

well if you look at it the rough estimate of candidates in the range is #number_in _range *probability or 1/average gap.

as for the candidates left after L unless i know the upper bound I'm not so sure how to conquer it I could assume that if i can find a upper bound at this many per gap etc. I can expect this many that might be simple if I can do the math with them in reasonable time.

Last fiddled with by science_man_88 on 2010-09-22 at 17:32
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 17:37   #609
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
as for the candidates left after L unless i know the upper bound I'm not so sure how to conquer it I could assume that if i can find a upper bound at this many per gap etc. I can expect this many that might be simple if I can do the math with them in reasonable time.
See post #593. (1 - 1/f) * 100% of candidates are sieved out, leaving (1/f) * 100% of candidates that may be prime with 'probability' f times greater than usual.
CRGreathouse is offline   Reply With Quote
Old 2010-09-22, 17:46   #610
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts
Default

in the range yes outside the range unless I know what percentage of candidates are in each range or something I still see no clue.
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 18:36   #611
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

I don't understand what you wrote or how it relates to what I wrote.
CRGreathouse is offline   Reply With Quote
Old 2010-09-22, 18:39   #612
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

100000110000002 Posts
Default

what I'm saying is

up to L is definable range
up to unknown value is quite defined in my eyes enough to help me find what percentage is left of all candidates.
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 19:03   #613
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Yep, not getting it. You use L to calculate a new lambda; you don't do anything else with it. You're not working in ranges defined by it.
CRGreathouse is offline   Reply With Quote
Old 2010-09-22, 19:07   #614
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

then i don't know of a way to do it unless I loop forever changing lambda and never stop until I can prove no more candidates exist I have no way of doing either really.
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 19:33   #615
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

I might get it if I followed the:

Keep
it
simple
stupid

method
science_man_88 is offline   Reply With Quote
Old 2010-09-22, 19:52   #616
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

175B16 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
then i don't know of a way to do it unless I loop forever changing lambda and never stop until I can prove no more candidates exist I have no way of doing either really.
I have no idea why when I asked for the expected number of remaining candidates, you thought this would require an infinite loop.
CRGreathouse is offline   Reply With Quote
Reply



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

All times are UTC. The time now is 21:46.


Fri Aug 6 21:46:49 UTC 2021 up 14 days, 16:15, 1 user, load averages: 2.41, 2.47, 2.52

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.