mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2009-10-29, 15:52   #1
JoeCrump
 
Oct 2009
North Carolina, USA

10002 Posts
Default SNFS Poly creation for n=2*x^2 - 1

I have a few ~C180s I need to factor. ECM has already run upto B1=11mil bound so I'm looking to finish with SNFS if possible. The problem I'm having is that the polynomials I'm creating do not give good performance (i.e. compared to other numbers I've done with SNFS which were of the form r^e-s). I'm wondering why and whether someone can advise a better approach to creating polynomials for these.

Let me give a specific example:

c159 = 943678541557242360267381078142531725184939371179933110685996787133278689060023639358856607979737887292422703591189986894750771044325960544955770926525312874129;

This is a remaining composite from (2*x^2 - 1) where x=10^86 + 39022535;

Now, my experience from NFS in the past has been to create a 4, 5, or 6 degree polynomial through adding factors. With this number I started by letting y=10^43 and creating the quartic...

2*y^4 + 156090140*y^2 + 3045516475652449

However, this seems to give poor performance (~1rels/sec) when I feed into GGNFS.

c4: 2
c2: 156090140
c0: 3045516475652449
Y1: 1
Y0: -10000000000000000000000000000000000000000000
skew: 6246.801981814374240029413779

I tried also making the leading coefficient a 1 by using:
y = 2*10^43;
y^4 + 312180280*y^2 + 24364131805219592

That didn't do any better. Then I tried a sextic with:
c6: 1
c3: 780450700000
c0: 152275823782622450000000
Y1: 1
Y0: -1000000000000000000000000000000

which also gives poor performance. I'm interested in learning why these polynomials don't work well and what is a better approach for creating polynomials when you have a simple quadratic form for the number.

Thanks much for your expert advice!
JoeCrump is offline   Reply With Quote
Old 2009-10-29, 17:28   #2
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

3·11·229 Posts
Default

Quote:
Originally Posted by JoeCrump View Post
This is a remaining composite from (2*x^2 - 1) where x=10^86 + 39022535;

Now, my experience from NFS in the past has been to create a 4, 5, or 6 degree polynomial through adding factors. With this number I started by letting y=10^43 and creating the quartic...

2*y^4 + 156090140*y^2 + 3045516475652449

However, this seems to give poor performance
That didn't do any better. Then I tried a sextic with:
c6: 1
c3: 780450700000
c0: 152275823782622450000000
Y1: 1
Y0: -1000000000000000000000000000000

which also gives poor performance. I'm interested in learning why these polynomials don't work well
!
They give relatively poor performance relative to similar sized numbers
also done by SNFS because the coefficients of your polynomials are BIG.

Look at the norms of the integers generated by your polynomials.

With coefficients this big, you are really running GNFS and not SNFS.
R.D. Silverman is offline   Reply With Quote
Old 2009-10-29, 17:35   #3
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

2,647 Posts
Default

The think the best you can do is the sextic:

c6: 2
c3: 312180280
c0: 12182065902609796
Y1: 1
Y0: -100000000000000000000000000000

But this is still a huge c0 coefficient, making the algebraic norm 15 digits larger than normal. It's really closer to a GNFS factorization. Be sure to sieve on the algebraic side and make the alim much larger than the rlim.
frmky is online now   Reply With Quote
Old 2009-10-29, 21:00   #4
JoeCrump
 
Oct 2009
North Carolina, USA

108 Posts
Default Thanks

Thanks for the replies. I appreciate it. I guess I haven't done enough SNFS yet to get a feel for how the performance is affected by the increase in coefficient size! The numbers didn't look "that" big to me, but understand it's much bigger than the usual SNFS targets.
JoeCrump is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Calculate SNFS Poly? Stargate38 Factoring 7 2015-05-27 23:09
Creation Museum aymanmikhail Soap Box 67 2013-12-09 15:21
SNFS poly for b^n-1, n prime? ryanp Factoring 6 2013-07-19 17:23
Ooops....SNFS poly for primes? schickel FactorDB 0 2011-12-16 18:07
Homogeneous Cunningham snfs poly selection? nuggetprime Factoring 22 2008-08-15 10:01

All times are UTC. The time now is 23:45.


Tue Jun 6 23:45:35 UTC 2023 up 292 days, 21:14, 0 users, load averages: 0.85, 0.78, 0.78

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔