Question: using Python Problem 2: Large Exponents The built-in next_prime function gives the next prime after the input. For example, next prime(9)-11 Part A: Let p
using Python


Problem 2: Large Exponents The built-in next_prime function gives the next prime after the input. For example, next prime(9)-11 Part A: Let p be the next prime after 10 and q the next prime after p 2.A.1. What are the last 5 digits of p'? 2.A.2. What is p (mod 10)? 2.A.3. How many decimal digits does have? . 2.A.4. What is logo(p")? Part B: Let z be the next prime after 1000 and y the next prime after . .2.B.1. What are the last 5 digits of r? 2.B.2. How many decimal digits does have? Give an integer m such that the number of decimal digits of is between 10 and 10m(Make sure after we run your codes, the variable m contains your answer for m.) 2.B.3. How does the number of decimal digits of r compare to typical estimates for the number of atoms in the universe? (2.B.3 will not be graded, but you should be aware of the comparison.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
