How many seven-digit positive numbers, containing no zeroes, are there such that the geometric mean of the first six digits is equal to the seventh digit?
In other words, how many distinct numbers are there such that where
It is probably easier to write code to solve this problem. However, a mathematical solution using combinatorics might be more interesting!
This is a follow-up on this problem, but more elaborate.