Tag Archives: number-digits

Seeds of a number

A Seed of a number n is a number x such that multiplication of x with its digits is equal to n. The task is to find all seeds of a given number n. If no seed exists, then print the same. Examples: Input : n = 138 Output : 23 23 is a seed… Read More »