![]() |
![]() |
#1 | ||
Noodles
"Mr. Tuch"
Dec 2007
Chennai, India
3×419 Posts |
![]()
I am not understanding any algorithm.
In the beginning, people in the forum used up so to write: Quote:
Quote:
Take the continued fraction expansion of In my method, to calculate the value of qi's that I used up so The ith convergents are given up so by The even convergents are in deficit, and the odd convergents are in excess. So, thus, to calculate the values of qi's in my trial program, I used up so If i is even, qi is the least value such that If i is odd, qi is the least value such that This is the algorithm that I used up so for my trial program. If it is admissible to use floating point arithmetic, qi can be directly calculated as follows: and so on... But, in the paper by Morrison and Brillhart, A method of factoring and the factorization of F7 It is rather given some new formulas, where I don't understand how these formulas are arrived at g is reduced to an integer, so how the bottom three formulas will produce an indefinite continued fraction expansion? Just for theory, not the implementations at all, by now itself. Of course, for the time being.. How come What is Pn? The term Qn is indeed OK for me, up so thus. How come and then thus? Last fiddled with by Raman on 2009-02-25 at 11:42 |
||
![]() |
![]() |
![]() |
#2 | |
Nov 2003
22·5·373 Posts |
![]() Quote:
See either Riesel's book, or Knuth Vol 2. |
|
![]() |
![]() |
![]() |
#3 | |
Noodles
"Mr. Tuch"
Dec 2007
Chennai, India
3×419 Posts |
![]()
Once the matrix has been solved, the history matrix contains the rows which contribute to the dependency. The relations are multiplied to get the value of
This is the technique that is being mentioned so, in the paper of Morrison and Brillhart, rather than maintaining a count of each prime power, and then multiplying each prime by half the value of power. For each relation Consider the step 7 now. It is given that if R is sufficiently small, then X can be easily computed by taking its square root. I don't understand this fact. Can someone please explain clearly? If R is greater than N, it will be reduced (mod N). How do we know (by using so the brute force techniques?) what multiple of N should be added up to R, so as to make it a perfect square? It is somewhat pointed to remark 3.4 Quote:
Last fiddled with by Raman on 2009-02-26 at 14:17 |
|
![]() |
![]() |
![]() |
#4 |
(loop (#_fork))
Feb 2006
Cambridge, England
2×3,191 Posts |
![]()
The "leading point of kN" is referring to the first few digits of kN (IE, if you know kN is 88 digits long and begins 1.427, so is about 14.27*10^86, a starting estimate for sqrt(kN) would be sqrt(14.27) * 10^43 = 3.77*10^43).
The algorithm you're writing about never tells you to reduce R mod N; you just keep multiplying Qi (which are integers) together until you get an enormous integer, then just take the square root of that integer. But this code was written to run on amazingly slow computers, and before the FFT-based multiply algorithms had reached the state they're in now, so at the time it was impractical to work with such large integers, and they had to invent a cleverer algorithm which is done in the next section of the paper. |
![]() |
![]() |
![]() |
#5 |
Noodles
"Mr. Tuch"
Dec 2007
Chennai, India
3·419 Posts |
![]()
Finally, is the factoring of the different
Further, we have that properties of dividing by using brute force techniques only upto the Factor Base primes, and then discarding away those relations, whose cofactor is greater than the Upper Bound. Do we have any other constraints or conditions for the factoring of the various For the Quadratic Sieve algorithm, we have that if a prime p divides Anything else that is like that case for this continued fraction factoring algorithm? Of course, for the optimizations, for ever. Last fiddled with by Raman on 2009-02-27 at 16:45 |
![]() |
![]() |
![]() |
#6 |
Tribal Bullet
Oct 2004
2×3×19×31 Posts |
![]()
You can use a factor base that will skip over primes that will never divide the numbers produced at each step, and you can also use single and double large primes on numbers that survive that step, combined with generation of cycles. Put another way, whether you use QS, NFS or CFRAC the postprocessing behaves the same, manipulating graph quantities that are derived from the relations produced by the algorithm.
You can also use Bernstein's batch factoring algorithm to massively speed up trial division by larger primes, or his batch gcd algorithm to flag relations that are likely to be smooth. I'm quite partial to the latter. |
![]() |
![]() |
![]() |
#7 | |
Noodles
"Mr. Tuch"
Dec 2007
Chennai, India
3·419 Posts |
![]()
The question is how to recognize those primes that do not divide the value of
Besides the fact that we can skip up those primes for which In the Quadratic Sieve factoring algorithm, we need to test those values of x, for a prime p, that satisfies the congruence, for which It produces two arithmetic progressions, with a common difference of p, for each of the both sequences. Like that, anything existing for the continued fraction factoring algorithm? The values of are produced at random, from the continued fraction expansion of We have the fact that, this congruence is being satisfied up always Quote:
Last fiddled with by Raman on 2009-02-27 at 18:00 |
|
![]() |
![]() |
![]() |
#8 |
Tribal Bullet
Oct 2004
2·3·19·31 Posts |
![]()
No, there's no way to just look at one of those numbers and immediately know a collection of small primes that does not divide it. This is why CFRAC has so much trouble even with 40-digit numbers, and QS completes in milliseconds. Using a sieve in QS improves the asymptotic complexity over CFRAC, as well as the implied constant in the asymptotics (getting both of these is pretty unusual in an advanced algorithm; look at how big a number has to be before NFS becomes faster than QS despite the additional overhead of NFS)
Last fiddled with by jasonp on 2009-02-27 at 18:02 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
why continued fractions gives one factor for N=(4m+3)(4n+3) | wsc811 | Miscellaneous Math | 6 | 2013-11-29 21:43 |
An Egyptian Fraction | Yamato | Puzzles | 8 | 2013-05-16 15:50 |
TF algorithm(s) | davieddy | Miscellaneous Math | 61 | 2011-07-06 20:13 |
Partial fraction of this expression?please!! | tinhnho | Miscellaneous Math | 4 | 2005-01-17 19:45 |
Continued Fraction of Primes | Cyclamen Persicum | Miscellaneous Math | 9 | 2003-04-13 14:56 |