About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
July 2021 - Solution
A simple way to determine if a given number is a Carmichael number is by using Korselt's criterion: is Carmichael if it is square-free and for every prime divisor
of
,
divides
. This allows us to easily determine if a number is Carmichael (and primary Carmichael) given its factorization.
A simple method by Chernick to generate Carmichael primes is as follows: if for any we have that
are all primes, then their product is Carmichael.
To generate the maximal nontrivial root of unity, one can use the Chinese remainder theorem to compute all roots, since for a prime the roots are then the solution of the system
where for every factor
, we have that
is one of the roots of unity modulo
.
A sample solution found in this way:
1296000000000000000000000000002498627160000000000000000000001605745289271600000000000000000343977948543716641
600000000000000000000000000000385591, 1200000000000000000000000000000771181, 1800000000000000000000000000001156771
1296000000000000000000000000002498625000000000000000000000001605742513020600000000000000000343977056463900091