Find all the positive integers n so that n has the same number of digits as its number of different prime factors and the sum of these different prime factors is equal to the sum of exponents of all these primes in factorization of n.
Problem
Source: Macedonia JBMO TST 2017, Problem 5
Tags: number theory, Digits, prime factors, Exponents