mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2005-06-20, 21:06   #89
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

These numbers are, in fact, correct. 140 = 2 * 2 * 5 * 7, so we can try to factor 376^70+1 and divide out the algebraic factor 376^14+1 (makes a degree 4 polynomial and leaves difficulty 144) or 376^10+1 (makes a degree 6 polynomial and leaves difficulty 155). If you force degree 5, phi.c can't divide out any algebraic factors at all, so the difficulty is 70*log_10(376)=180 there.

If you wanted to divide out both algebraic factors, you'd get a degree 24 polynomial. That is way too high. Since that polynomial would by self-reciprocal you could use the degree halving trick, but degree 12 is still way too high. Sorry - you can make use of only one algebraic factor here.

If ECM could find a factor up to, say, 35 digits, you'd have an easy MPQS number.

Note: the "376^70-1" on the first comment line has the minus wrong, that should be a plus. To be fixed.

Alex
akruppa is offline   Reply With Quote
Old 2005-06-22, 05:00   #90
trilliwig
 
trilliwig's Avatar
 
Oct 2004
tropical Massachusetts

3·23 Posts
Default

Quote:
Originally Posted by smh
For phi(53,x) the poly's look better (more rels/sec).

I just tried Phi(140,376):

(140 376 (716819461) (C 115))

Code:
n: 5670349667640533737345129029795054544400388689234852451198849403078229477068582060516180863076298052484046267440141
# 376^70-1, difficulty: 180.26, skewness: 1.00, alpha: 0.00
# cost: 2.38863e+016, est. time: 11.37 GHz days (not accurate yet!)
skew: 1.000
c5: 1
c0: 1
Y1: -1
Y0: 1128833343118249207414947823407333376
m: 1128833343118249207414947823407333376
Difficulty 180 seems a bit high for a number just over 120 digits
Note that X5 +/- 1 is a factorizable polynomial and so cannot be used for NFS. GGNFS at least will fail in factorbase generation if this input is given. I don't know what the CWI/Franke tools will do.

--
Sam
trilliwig is offline   Reply With Quote
Old 2007-05-11, 08:42   #91
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

41128 Posts
Default

Quote:
Originally Posted by akruppa View Post
I made a binary for Pentium 3 for Windows. Speed is not important for this program so architecture specific optimisation is not necessary.

Alex

Edit: I found that after stripping symbols, the binary is small enough to attach instead of linking.
Alex,
Can you recompile phi.c to take its input from a text file rather than the command line? I want to generate some polys on a Win98 system, but the numbers are too long to input because of limited line length, and it won't let me redirect the input from a file.

Frank
schickel is offline   Reply With Quote
Old 2007-05-11, 09:58   #92
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Will a fix that allows reading the number from stdin work for you?

Alex

Last fiddled with by akruppa on 2007-05-11 at 09:58
akruppa is offline   Reply With Quote
Old 2007-05-11, 11:10   #93
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

46438 Posts
Default

In case it does, try this patch. Unfortunately I can't build Windows executables while at work, but maybe someone with Windows and MinGW can do it? Otherwise, I could do it over the weekend.

Alex
Attached Files
File Type: txt phi.0.1.2.1.patch.txt (2.3 KB, 133 views)
akruppa is offline   Reply With Quote
Old 2007-05-11, 17:11   #94
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2·1,061 Posts
Default

Quote:
Originally Posted by akruppa View Post
In case it does, try this patch. Unfortunately I can't build Windows executables while at work, but maybe someone with Windows and MinGW can do it? Otherwise, I could do it over the weekend.

Alex
That should work, and over the weekend is fine. I kept trying to use phi to set up SNFS runs for some cyclotomic numbers I was ECMing and couldn't figure out why it kept telling me N didn't divide the x^n-1 I was giving it. I finally noticed last night that the whole number wasn't pasting into the DOSbox.....
schickel is offline   Reply With Quote
Old 2007-05-13, 16:33   #95
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

It's at http://home.in.tum.de/~kruppa/phi.0.1.2.1.zip

Alex

Edit: And now the file is even readable!

Last fiddled with by akruppa on 2007-05-13 at 16:43
akruppa is offline   Reply With Quote
Old 2007-05-14, 02:47   #96
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,061 Posts
Default

Quote:
Originally Posted by akruppa View Post
It's at http://home.in.tum.de/~kruppa/phi.0.1.2.1.zip

Alex

Edit: And now the file is even readable!
Thanks! I'll give it a try when I get a free machine.
schickel is offline   Reply With Quote
Old 2007-05-14, 16:59   #97
Greenbank
 
Greenbank's Avatar
 
Jul 2005

38610 Posts
Default

What about a script for Homogeneous Cunningham numbers (a^n +/- b^n) (i.e., takes a, b, n, known factors) and spits out an SNFS poly file?

I'm going to try and knock up my own based but someone else might have already done it...
Greenbank is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modern parameter choice for large 14e/small 15e projects VBCurtis Factoring 29 2016-02-12 20:45
PFGW can't find a small factor. Arkadiusz Software 7 2013-02-18 12:43
newbie question - finding small factors of very large numbers NeoGen Math 7 2007-03-13 00:04
Problems with Large FFT but not Small FFT's? RichTJ99 Hardware 2 2006-02-08 23:38
Number with small factor: Further factorization? Mystwalker GMP-ECM 3 2005-05-02 08:31

All times are UTC. The time now is 14:09.


Fri Jul 16 14:09:39 UTC 2021 up 49 days, 11:56, 2 users, load averages: 1.58, 1.85, 1.73

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.