![]() |
|
|
#34 |
|
Oct 2002
43 Posts |
You're right; it only works if you can find appropriate values for a and b. The usefulness comes from the fact that most big numbers we work with are already in that form: Mersenne numbers, Fermat numbers, Proth numbers, etc are all of the form [something big with a small number of distinct prime factors] +/- 1.
|
|
|
|
|
|
#35 |
|
Mar 2003
34 Posts |
What a crazy stupid rat paranoid am I!!!
Example modulo 1000 does not still work! Let's multiply 123 by 543 mod 1000. We are going to use 4-digit FFT. 1000=1024-24. Then a = 2^10, b = 2^3*3 Radix vector is: (1 4 16 32) Weight wector is: (1 6^(1/4) 6^(1/2) 3^(3/4)*2^(-1/4) ), or (1.00000000000000 1.56508458007329 2.44948974278318 1.91682931273882) 123 and 543 in radix form are: (3 2 1 3) and (3 3 1 16) Weighted convolution gives: (138 72 84 67) That's 3914 What's the hell? Please, point me on errors... |
|
|
|
|
|
#36 | |
|
∂2ω=0
Sep 2002
República de California
101101011111112 Posts |
Quote:
(where the results are known) first, then see about generalizing to other types of moduli. |
|
|
|
|
|
|
#37 | |
|
Oct 2002
43 Posts |
Quote:
|
|
|
|
|
|
|
#38 | |
|
Mar 2003
10100012 Posts |
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| why is http://www.mersenne.org/ so slow | Unregistered | Information & Answers | 19 | 2012-04-17 03:12 |
| Slow Down? | R.D. Silverman | GMP-ECM | 55 | 2011-10-16 17:28 |
| How hot is too hot? Slow is too slow? | petrw1 | Hardware | 13 | 2008-11-10 23:25 |
| Slow computer | Housemouse | Hardware | 7 | 2008-02-15 18:18 |
| Really slow machines? | Doorbasher | Hardware | 5 | 2004-08-23 22:18 |