Or search by topic
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.
Draw a square. A second square of the same size slides around the first always maintaining contact and keeping the same orientation. How far does the dot travel?