Added advanced solution (permuted multiples)