pseudoprime numbers solve in sage [closed]
Help me solve my exam: Determine how many numbers pseudoprime the base 7 is in the interval [4.10 ^ 10 ^ 60] (calculate the length of the list). Define the appropriate list and check after determining that its elements satisfy the relevant conditions.
Check how many in the interval [10 ^ 3.10 ^ 5] is the number of bases that are pseudopierwszych consecutive numbers
the first 2,3, ..., n the base p_n= 3 NOTE: In the second part of the task, do not write out explicitly n conditions and use the forall. Do not write out explicitly primes.
Posting exam questions here is not appropriate.