That's right. I checked this list with my program that returned 2071 to be prime.ravoorheis wrote:That is easily checked with Google, Wolfram Alpha, or a factorize function that I would assume is in any Project Euler solver's toolkit: 109*19 = 2071.Georg wrote:What are the prime factors of 2071?ravoorheis wrote:The path cannot 'go through' any number higher than 2081, so for the first step the only possible valid rearrangements are 2011, 2021, 2031, 2041, 2051, 2061, 2071, 2080, and 1081.
Of these, only 2011 is prime.
Checking again my program sometimes returnes 2071 = 2071 and sometimes 2071 = 19 * 109. I'll fix this.


