(41) Exponentiation & Residue Reduction
|
04-26-2022, 10:59 AM
(This post was last modified: 04-26-2022 01:20 PM by Thomas Klemm.)
Post: #5
|
|||
|
|||
Errata: (41) Exponentiation & Residue Reduction
Errata
342 Appendix This is the binary decomposition of the exponent 340. Check: \(2^8 + 2^6 + 2^4 + 2^2 = 340\). Check! Next, the computer will start the necessary repeated squarings and reductions modulo 341, which will take about 7 seconds. Then the display will show the end result, a 1 (without a decimal point!). Thus, \( \left< 2^{340} \right>_{341} = 1 \). In other words, 341 is a pseudoprime to the base 2. Similarly, after pressing 2, ENTER, 170, ENTER, 341, R/S, the display shows in succession: 7. 5. 3. 1. 1 where that last display (the 1 without the decimal point) tells us that \( \left< 2^{170} \right>_{341} = 1 \). Proceeding in the same manner, we find \( \left< 2^{85} \right>_{341} = 32 \), i.e., 341 is not a strong pseudoprime to the base 2. Also, by using 3 as a base we find \( \left< 3^{340} \right>_{341} = 56 \). Thus, 341 is certainly not an absolute pseudoprime (Carmichael number). However, for the modulus 2821, we find \( \left< 2^{2820} \right>_{2821} = \left< 3^{2820} \right>_{2821} = 1 \), two of the many steps necessary to show that 2821 is an absolute pseudoprime or a Carmichael number. Note that our little calculator with a limited accuracy and a 10-digit display, in calculating \(\left< 2^{2820} \right>_{2821}\) has coped with a number having 1346 decimal digits! This has been made possible by the frequent intermediate modulo reduction that the program employs. Appendix 343 Original program for the HP-41C: Code: 01 LBL "AN" ; call program Translated program for the HP-42S: Code: 00 { 141-Byte Prgm } Resources |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(41) Exponentiation & Residue Reduction - SlideRule - 04-06-2020, 01:31 PM
RE: (41) Exponentiation & Residue Reduction - Werner - 05-08-2020, 01:58 PM
RE: (41) Exponentiation & Residue Reduction - Albert Chan - 05-11-2020, 02:55 PM
RE: (41) Exponentiation & Residue Reduction - Thomas Klemm - 04-26-2022, 03:17 AM
Errata: (41) Exponentiation & Residue Reduction - Thomas Klemm - 04-26-2022 10:59 AM
Errata: (41) Exponentiation & Residue Reduction - Thomas Klemm - 04-26-2022, 04:05 PM
|
User(s) browsing this thread: 2 Guest(s)