999 = 37 * 27
9999 = 99 * 101
999999 = 999* 1001 = 999 * 11 * 91 = 999 * 11 * 13 * 7
2004 is a multiple of 3, 4 and 6.
The given number can be divided into groups of three 9's, four 9's or six 9's at a time.
The given number is divisible by 7, 13, 37 and 101.

x^2 - 6x + 25 = (x-3)^2 + 16
so min of sqrt (x^2-6x+25) = 4
y^2 - 8y + 25 = (y-4)^2 + 9
so min of sqrt (y^2-8y+25) will be 3
so min sum will be 7
for x=3 and y=4

Here given E x E = E and A x A =A.
So E = 1 or 5, A = 5 or 1.
Let’s put E = 1 and A = 5.
5B1 = 1 x B1
Not possible.
Let’s put E = 5 and A = 1.
1B5 = 5 x B5
So B = 2.
BBA + CCD = EEE.
221 + CCD = 555.
1 + D = 5.
D = 4.
2 + C = 5.
C = 3.
AB x CE = 12 x 35 = 420.

Method1- Let's say original weight is 100 now he is taking 20% extra so total 120 and selling 10% less so 90. So (120-90/90) * 100 = 30/90 * 100= 33.33%
Method2- multiplying factor1 * 10/9 * 6/5 = 1.33 so 33%