Copyright © University of Cambridge. All rights reserved.
D = 2pqr where p, q and r are primes and there are only a few cases to consider as p, q and r can't be very big.