Question: 6. (a) Write a program that takes a small integer *n* as input and returns the smallest Carmichael number that is greater or equal to
6.
(a) Write a program that takes a "small" integer *n* as input and returns the smallest Carmichael number that is greater or equal to *n*.12
(b) Test your program with the inputs 323, 645, 1521, and 1999; compare your first three outputs to the three Carmichael numbers listed after Definition 2.43.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
