Euler 51 Prime digit replacements