carmichael numbers!

curious about algorithm to calculate carmichael numbers, composite
numbers that behave like primes.