Question

Consider the candidate prime n 15841. a. Use Fermats test (for a random integer a with 1 < a < n-1: if an-1 1( mod n), then n is composite, else n is probably prime) to check the value of n, taking in turn a = 2, 3, 5, 7. b. Use the Solovay-Strassen test on n with bases a = 2, 3, 5 (For a random integer a with -) < a < n-1: if ( c. Now use the Miller-Rabin test on this n, taking bases a = 2 then a = 3. 1 a(n-1)/2( mod n) then n is composite, else n is probably prime).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution: · n= 15841. Fermats test is used to perform the primarily test . Take a random a o n-1=15840 o Now for a-2, a1584o Compute, a15840 mod 15841-715840 mod 15841- 6790 That is an-l #1 mod n . For a=7. Thus n is complex. o o Thus n is a comple

Add a comment
Know the answer?
Add Answer to:
Consider the "candidate prime" n 15841. a. Use Fermat's test ("for a random integer a with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT