![]() |
|
|
#23 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
Quote:
|
|
|
|
|
|
|
#24 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
I did look no constant difference from the square. I made one that can use any power of 2 the problem not all powers of 2 will find the same answer by my slightly altered method ( for 2^f as a start go until p-f ( which also fits the original) but the reason I switched to this is because I don't know fft and -2 only seemed to work for 8 if I did p-3 in the loop. But I see the flaw.
Last fiddled with by science_man_88 on 2012-01-13 at 15:46 |
|
|
|
|
|
#25 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
Sure, it applies. I think LaurV made a mistake in going from 8 to 56 instead of to 62.
Last fiddled with by cheesehead on 2012-01-13 at 20:50 |
|
|
|
|
|
#26 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
11100001101012 Posts |
But he got 0 as the correct residue, whereas if you do it our way you get a non-zero residue, despite the fact that it's prime.
|
|
|
|
|
|
#27 | ||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
Quote:
Quote:
Last fiddled with by cheesehead on 2012-01-13 at 21:21 |
||
|
|
|
|
|
#28 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
|
|
#29 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Actually, "our" way gets a zero residue, too ... but it gets it one iteration too early, which is a discrepancy I haven't yet figured out. For now, I'm waiting for someone else to figure out what I/we have missed.
|
|
|
|
|
|
#30 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
Code:
forprime(r=1,200,for(e=1,r-1,print1(lucaslehmer2(r,e)));print(","r))
Code:
0,2 01,3 0100,5 010000,7 0000000000,11 011100000000,13 0100000000000000,17 010100010000000000,19 0000000000000000000000,23 0000000000000000000000000000,29 010100000000000000000000000000,31 000000000000000000000000000000000000,37 0000000000000000000000000000000000000000,41 000000000000000000000000000000000000000000,43 0000000000000000000000000000000000000000000000,47 0000000000000000000000000000000000000000000000000000,53 0000000000000000000000000000000000000000000000000000000000,59 011101000000000000000000000000000000000000000000000000000000,61 000000000000000000000000000000000000000000000000000000000000000000,67 0000000000000000000000000000000000000000000000000000000000000000000000,71 000000000000000000000000000000000000000000000000000000000000000000000000,73 000000000000000000000000000000000000000000000000000000000000000000000000000000,79 0000000000000000000000000000000000000000000000000000000000000000000000000000000000,83 0110000000000000000000000000000000000000000000000000000000000000000000000000000000000000,89 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,97 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,101 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,103 0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,107 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,109 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,113 010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,127 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,131 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,137 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,139 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,149 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,151 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,157 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,163 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,167 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,173 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,179 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,181 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,191 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,193 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,197 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,199 |
|
|
|
|
|
|
#31 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
they responded to you I think I get what they mean.
|
|
|
|
|
|
#32 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
170148 Posts |
patrik has explained:
So that's what I overlooked -- shifting the 2 that's subtracted. |
|
|
|
|
|
#33 |
|
Jan 2012
32 Posts |
Thanks for making clear about Double checking and torture issue.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to disable benchmarking while torture tests are running? | ZFR | Software | 4 | 2018-02-02 20:18 |
| Will the torture test, test ALL available memory? | swinster | Software | 2 | 2007-12-01 17:54 |
| How to use Prime95 For benchmarking and torture testing only | Cyclamen Persicum | Software | 2 | 2004-04-03 14:52 |
| torture test help | teotic_hk | Hardware | 8 | 2004-03-22 20:23 |
| Torture test not torture enough? | cmokruhl | Software | 3 | 2003-01-08 00:14 |