![]() |
|
|
#1684 | |
|
Aug 2006
597910 Posts |
Quote:
Of course, to me, that suggests that this is not really going to be meaningful... but that's your issue, not mine. |
|
|
|
|
|
|
#1685 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Code:
3,5,7,13,17,19,23,31,33,51,61,71,89,101,107,127,139,191,271,273,305,331,347,351,367,397,405,407,427,435,457,467,489,521,525,539,543,549,559,565,577,583,589,597,601,607,611,613,617,619,641,643,661,693,717,729,787,793,809,817,819,837,871,879,891,899,983,987,991, Last fiddled with by science_man_88 on 2010-11-24 at 21:10 |
|
|
|
|
|
#1686 | |
|
May 2010
Prime hunting commission.
110100100002 Posts |
Quote:
You can try 1 mod 9, 2 mod 9, 4 mod 9, 5 mod 9, 7 mod 9, and 8 mod 9. Last fiddled with by 3.14159 on 2010-11-24 at 22:21 |
|
|
|
|
|
|
#1687 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
I'm not saying anything about a prime dividing by 9 lol. If 0=9 mod 9 then you know the mersenne prime exponent residues all fit in the group of exponents with residues that are 9 mod 9, they are a subgroup.
|
|
|
|
|
|
#1688 |
|
May 2010
Prime hunting commission.
168010 Posts |
Okay.. what about it?
Last fiddled with by 3.14159 on 2010-11-25 at 02:11 |
|
|
|
|
|
#1689 |
|
May 2010
Prime hunting commission.
110100100002 Posts |
And;
Adding Fermat's factoring algorithm was rather easy; Code:
fmtfcs(a, x, m) = {
for(n=a,x,
if(issquare(n^2+m), print(n))
);
}
Revision: Code:
fmtfcs(a,x,m)=for(n=a,x,if(issquare(n^2+m),print(sqrtint(n^2+m)+n, " * ", sqrtint(n^2+m)-n))); Last fiddled with by 3.14159 on 2010-11-25 at 03:27 |
|
|
|
|
|
#1690 |
|
Aug 2006
10111010110112 Posts |
Bad Pi!
Functions should return, not print. What if you wanted to use that data from another program?
|
|
|
|
|
|
#1691 | |
|
May 2010
Prime hunting commission.
168010 Posts |
Quote:
I'm busy collecting relations for a c106. I'm only about ... 31% done. 159k relations are needed. So, I estimate that this will take two or three days. (I've only collected 49105 relations, so far, given eight hours.) Last fiddled with by 3.14159 on 2010-11-25 at 13:17 |
|
|
|
|
|
|
#1692 |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
If adding Fermat's was easy.. How would one go about in adding an amateur QS?
(Yes, yes, I know that PARI already uses MPQS.) My knowledge of it so far is; 1. Set bound. 2. Set factor base. 3. b-smooth congruence hunting. 4. Try to set ≥2 congruences into a congruence of squares. 5. gcd. 6. Factors. Last fiddled with by 3.14159 on 2010-11-25 at 15:47 |
|
|
|
|
|
#1693 |
|
May 2010
Prime hunting commission.
32208 Posts |
I did a comparison, and it seems that trial division by far outspeeds the Fermat script.
I think I didn't have the most efficient script there is.. But I'll try improving on it. I'm now 2/3 done with the collection of relations for the c106 I'm trying to split (Hopefully it does not crash.)| Update: 72% done. Last fiddled with by 3.14159 on 2010-11-25 at 16:53 |
|
|
|
|
|
#1694 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Record split; Part 3!
Code:
starting SIQS on c106: 4475950135356613778937951617143741209311215873146646798431494279597781200242083780419779316018232365322301 ==== sieving in progress ( 4 threads): 159064 relations needed ==== ==== Press ctrl-c to abort and save state ==== 159188 rels found: 35794 full + 123394 from 2418802 partial, ( 48.30 rels/sec) SIQS elapsed time = 51034.7770 seconds. ***factors found*** PRP53 = 59032375916416525973964206982565204661985227334884669 PRP53 = 75821954747240330698482729033441429926359516470800129 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why do I sometimes see all the <> formatting commands when I quote or edit? | cheesehead | Forum Feedback | 3 | 2013-05-25 12:56 |
| Passing commands to PARI on Windows | James Heinrich | Software | 2 | 2012-05-13 19:19 |
| Ubiquity commands | Mini-Geek | Aliquot Sequences | 1 | 2009-09-22 19:33 |
| 64-bit Pari? | CRGreathouse | Software | 2 | 2009-03-13 04:22 |
| Are these commands correct? | jasong | Linux | 2 | 2007-10-18 23:40 |