![]() |
|
|
#1 |
|
Sep 2020
7 Posts |
I have recently come across SNFS factorization, and I have yet to find an answer to the following questions: How is the SNFS difficulty calculated? Is there an equation for calculating it?
|
|
|
|
|
|
#2 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
It's generally the size of the input, or the size of the original composite that generates the polynomial (for example, you might have a 25 digit factor already, but doing SNFS on the original number is faster than doing GNFS on the cofactor, so the SNFS difficulty doesn't match the composite size).
Say I'm trying to factor 2^901 - 1. That can be written 2x^6 - 1, with x equal to 2^150. That nice poly is what SNFS would use- so even if a couple of factors are known and the cofactor is 200 digits, this SNFS job at ~270 digits would be easier than a GNFS of 200. |
|
|
|
|
|
#3 |
|
Jul 2003
So Cal
1000001110102 Posts |
SNFS requires two polynomials, a degree-
In the example above, |
|
|
|
|
|
#4 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
A linear polynomial is almost always used (but not exclusively) because of the difficulty of finding good polynomials when neither are linear. |
|
|
|
|
|
|
#5 | |
|
Aug 2006
3·1,993 Posts |
Quote:
|
|
|
|
|
|
|
#6 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23×3×5×72 Posts |
Are there any good examples of snfs with nonlinear polynomials? As far as I know only gnfs has been done with nonlinear.
|
|
|
|
|
|
#7 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
|
|
|
|
|
|
#8 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23×3×5×72 Posts |
|
|
|
|
|
|
#9 | |
|
Aug 2020
3×5×19 Posts |
Quote:
|
|
|
|
|
|
|
#10 |
|
"Curtis"
Feb 2005
Riverside, CA
4,861 Posts |
Bur-
You've been doing it correctly. |
|
|
|
|
|
#11 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
1075310 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lucas and Fibonacci SNFS polynomials. | chris2be8 | Factoring | 26 | 2019-01-03 16:49 |
| SNFS polynomials via lindep | fivemack | YAFU | 22 | 2012-03-12 18:48 |
| SNFS polynomials. | chris2be8 | FactorDB | 1 | 2012-03-10 16:49 |
| SNFS polynomials for k*b^n+-1 | mdettweiler | Factoring | 15 | 2010-01-14 21:13 |
| Better measures of SNFS difficulty | fivemack | Factoring | 4 | 2007-06-30 09:20 |