Project Euler 172 - Investigating numbers with few repeated digits

Official link: https://projecteuler.net/problem=172