![]() |
|
|
#1 |
|
Oct 2006
10416 Posts |
I'm wondering how the amount of time to do primality tests changes with the base that is used with k.b^n+-1. I know that an odd base is not as quick as a base that is a power of two, but don't know if an even base has different times to complete primality tests than a power of two base.
Eg: k*2^n+1 = 10000 digits. k*62^n+1 = 10000 digits. Does the test time change? Thanks, Roger |
|
|
|
|
|
#2 | |
|
Nov 2003
22×5×373 Posts |
Quote:
The number of modular squarings is the same. Since k*b^n + 1, b!= 2 will have higher Hamming weight, the latter will have more multiplications by b. [but note that multiplication by a single precision number does not take much time.] The biggest gain comes from the fact that it is MUCH faster to do modular multiplication modulo k*2^n + 1 than for k*b^n + 1, b != 2. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bases > 1030 and k's > CK | gd_barnes | Conjectures 'R Us | 132 | 2021-01-09 05:58 |
| k*b^n+/-1, Bases 271 and 11971 | robert44444uk | Math | 26 | 2021-01-08 07:08 |
| Numbers in Other Bases are Belong to Us | Stargate38 | Lounge | 44 | 2020-10-24 11:33 |
| Other Bases? | wblipp | GPU Computing | 50 | 2012-10-11 13:23 |
| Primeness of bases | henryzz | Conjectures 'R Us | 15 | 2010-04-18 18:07 |