What is the biggest number below or equal to N that you can get by multiply two other number of K and L digits?
According to this post [a post from Quora], if you have two number of K and L digit, the product of this two number will have (K+L) or (K+L-1) digit.
So, if for example I have N=75148 (5 digits), what are the lowest and biggest number below 75148 that I can get by multiplying two numbers for example of 2 digit and 3 digit?
And so in general, my question is: given a whole number N, and given two other whole number K and L, what are the biggest and lowest whole number below or equal to N that you can get by multiplying a number of K digits with a number of L digits?
Input: N, K, L Output 1: T,p,q where T=p*q and p is a number of K digits and q is a number of L digits and T <= N and T is the biggest possible number such that T <= N Output 2: U,f,g where U=f*g and f is a number of K digits and g is a number of L digits and U <= N and U is the smallest possible number such that U <= N
All of this are whole numbers