Project Euler – Problem 47 Solution
Problem The first two consecutive numbers to have two distinct prime factors are: 14 = 2 x 7 15 = 3 x 5 The first three consecutive numbers to have three distinct prime factors are: 644 = 2² x 7 x 23 645 = 3 x 5 x 43 646 = 2 x 17 x …