![]() |
|
|
#56 |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
The 2 sort-predicates need to occur at top of their containing .c file, otherwise the compiler needs separate declarations-in-a-header.
#define HERE __LINE__, __FILE__ |
|
|
|
|
|
#57 |
|
"Robert Gerbicz"
Oct 2005
Hungary
2·743 Posts |
[k*10^6-40000,k*10^6+40000] (with integer k) is true for Mersenne exponents with index from 36 to 42 the only exception is p=13,466,917. This is also interesting.
|
|
|
|
|
|
#58 |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
B -smoothness: 57885161 is 69 of 1140, percentile = 94.04
SL[sup]2[/sup]-smoothness: 57885161 is 135 of 1140, percentile = 88.25 |
|
|
|
|
|
#59 |
|
∂2ω=0
Sep 2002
República de California
19×613 Posts |
Summary table:
Code:
p B -smooth L2-smooth -------- --------- --------- 110503 47.31 56.85 132049 78.57 93.15 216091 99.88 97.62 756839 28.72 17.03 859433 88.34 78.98 1257787 20.32 26.56 1398269 5.42 5.42 2976221 41.08 49.67 3021377 57.65 86.36 6972593 91.83 87.35 13466917 62.51 71.26 20996011 99.75 99.16 24036583 8.03 8.03 25964951 73.05 77.42 30402457 98.74 94.44 32582657 87.41 99.32 37156667 55.44 39.93 42643801 97.02 98.64 43112609 54.13 85.28 57885161 94.04 88.25 Average: 64.46 68.04 Also note, 6 of 20 for each smoothness measure in the > 90%ile range, and half of those are 99%ers. |
|
|
|
|
|
#60 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
I have to point out we haven't even examined what "average" is yet. (That is, what's the distribution for all the 1000s of primes in a range around an MP expo? Is it a bell curve...?)
|
|
|
|
|
|
#61 |
|
∂2ω=0
Sep 2002
República de California
19×613 Posts |
That would be an excellent use of the standalone code you pieced together from the files I sent you, plus some plotting magic.
|
|
|
|
|
|
#62 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
![]() My plan is to reimplement it in Python, which will be a lot slower but also very little code and effort on my part. Unfortunately I've distracted myself all morning reading about hacking python ![]()
|
|
|
|
|
|
|
#64 | |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
Quote:
Since it works fine for me (built using gcc 4.2 under Mac OS), I can't be of much help here. |
|
|
|
|
|
|
#65 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
To anyone willing to try it: it should compile out of the box with `gcc -Wall mprime_exp_smooth. -o mpsmooth -lm`, and try running `./mpsmooth`. For me it crashes in the sort before even calling any comparison functions (which are the only code I added). |
|
|
|
|
|
|
#66 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Wow, my Python is slow
it takes 5-10 seconds to process M110503. I'll edit in some results soon.Edit: Well, I made at least one stupid, but that doesn't appear to have solved the problem. Still getting crashes with a fixed compare. Last fiddled with by Dubslow on 2013-02-05 at 22:42 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mersenne Prime Exponent Distribution | PawnProver44 | Miscellaneous Math | 26 | 2016-03-18 08:48 |
| PC shuts down randomly. Need Help please | mdq | Hardware | 38 | 2009-05-23 09:35 |
| Fun with the new Mersenne prime exponent | ewmayer | Lounge | 4 | 2006-09-06 20:57 |
| Distributed Factoring and prime testing algorithms | bunbun | Software | 6 | 2006-03-27 17:14 |
| Mersenne composites (with prime exponent) | Dougy | Math | 4 | 2005-03-11 12:14 |