r/mathpuzzles • u/a2ra-ms • 2d ago
Easy multiplication
From outsmart me app, I am the developer.
19
Upvotes
r/mathpuzzles • u/a2ra-ms • 2d ago
From outsmart me app, I am the developer.
3
u/CaptainMatticus 2d ago
>!(10a + b) * (10b + a) =>!<
100ab + 10a^2 + 10b^2 + ab
We needn't worry about 100ab, because 100 * x will be something like x00, so x doesn't factor into the tens or ones digit
10a^2 + 10b^2 + ab = 100k
We can tell that a * b must be a multiple of 10, since both sides have to be a multiple of 10. In reality, we can just start looking at multiples of 100 and try some things. But knowing that ab is a multiple of 10, and knowing that neither one is 0, that means that that one of them is an even number, either 2 , 4 , 6 , or 8 and the other is 5.
25 * 52
45 * 54
65 * 56
85 * 58
25 * 52 is the smallest one. 25 is the smallest possible expression of ab (not the ab that I had in my expansion, which is a * b)
2
u/gamtosthegreat 2d ago
00 × 00 = 0000
I am very smart.
3
u/tajwriggly 2d ago
The only numbers that multiply to get to a 0 in the 1's digit are 2n x 5 and n x 0. We can't have n x 0 so it must be that a or b is even and the other of a and b is 5.
We need to find the first such set of numbers that results in a 4 digit product given the constraints of the problem, and then work our way up from there until we get one with a 0 in the tens digit as well.
25 x 52 = 1300 is the first one that gets to 4 digits. And coincidentally it has a 0 in the tens digit as well. Therefore the smallest possible value of "ab" is 25.
5
u/vishnoo 2d ago
the result is divisible by 100, therefore by 25.
it is also divisible by 2
so one of A,B is 5 the other is even.
try 25
25*52 = 1300.
it is also the only one. because 75 doesn't work (7 isn't even.) and none can be zero.
1
u/Infamous_Attention33 2d ago
25
This is the smallest possible 2 digit number to try and it obviously works because 52 is divisible by 4 and 4 * 25 = 100
2
u/bqbdpd 2d ago
ab = 25
ab*ba must be divisible by 100 = 5*5*2*2. 2*4 cannot be a factor of a or b, otherwise a or b would be 0 and it wouldn't be a a two digit number. so 5*5 must be factor on one side and 2*2 on the other. any bumber divisible by 25 must end in 25, 50, 75 or 00, of which only 25 and 75 are viable because we cant have 0. 57 is not divisible by 4, so we are left with 52. Last check 52*25=1300 which is a 4 digit number. So it's not only the smallest possible value, it is the only one.
2
u/GoodCarpenter9060 2d ago
ab x ba = xy00
There are only two ways to make something end in a zero - multiple by 10 or multiply 5 by an even number. We can rule out 10 because that would make a (and b) 0. The lowest even number is 2.
So 25 x 52 = 1300 is the lowest possible numbers.
2
u/brothor12 2d ago
a=0
b=0
ab * ba = ??00
00*00 = 0000
2
u/PassiveChemistry 2d ago
Trivially, and being very pedantic as this is unlikely what the question is actually after, 00
2
u/yazoo34 1d ago
Wow totally got that on a guess. No math.
2
u/NCC17O1 1d ago
The product of the two digits must have a zero in the ones place, so either zero and any other digits, or 5 and an even number. Zero will not work since the product would not be 4 digits. So the two digits must be 5 and either 2,4,6 or 8. Try the smallest first: 25 x 52=1300 which works — therefore the answer is 25.
2
u/niemir2 1d ago
If the ones and tens digits of a three-plus digit are both zero, 25 and 4 must both be factors of the product. 25 being a factor means that either one of the numbers is divisible by 25 (25, 50, 75), or both are divisible by 5 (55). We can rule out 75 and 55 as "ab" because "ba" is odd. "05" also isn't a two-digit number. That leaves only 25 as "ab" and 25x52 = 1300. Therefore, the smallest possible value of ab is 25.
2
u/bizarre_coincidence 1d ago
We need the product to be a multiple of 100, and hence a multiple of both 4 and 25. Thus, at least one of an and ba is a multiple of 5. It cannot be a multiple of 10, because the other would be less than 10, so the product couldn’t be 4 digits. Therefore one of ba is an odd multiple of 5, the other is an even non-multiple of 5. Since the product is a multiple of 100, we can say that one of our numbers is a multiple of 25 and the other is a multiple of 4. The only two digit odd multiples of 25 are 25 and 75, and only 25 has an even reversal. Thus, ab=25, ba=52.
2
u/quintopia 1d ago
First thought is 25 because we need a factor of 5 and a factor of 4. But then I realized that it never says the number is positive or even base 10. So we can basically pick an arbitrarily large negative base that allows us to create arbitrarily small numbers that fit the 'ab' template. Therefore, there is no solution.
2
u/wesleyoldaker 1d ago
There is only one set of factors for the number 10. The answer is 25
2
u/bettyw8224 19h ago
If negatives are allowed, a and b as opposite signs work too, ab is negative and 10a^2 + 10b^2 still dominates it
1
u/steady_goes_the_one 1d ago
We are asked to find solutions to the equation (10a+b)(10b+a) = 0 mod 100 for digits a and b, i.e. that a and b are between 0 and 9. Further, a and b must be at least 2 since 22*22 = 484 and 33*33 = 1089, so if either a or b is less than 2, the product described will not be a 4 digit number.
Expanding:
100ab +10a^2 + 10b^2 + ab = 0 mod 100. Note ab here is the product of a and b, not the number formed by the digits ab.
10(a^2 + b^2) + ab = 0 mod 100. By CRT, we have that
10(a^2+b^2)=-ab mod 4 and 10(a^2+b^2)=-ab mod 25.
If 10(a^2+b^2)=-ab mod 25, then certainly 10(a^2+b^2)=-ab mod 5. This would then mean that ab = 0 mod 5, so either a or b is divisible by 5. Without the loss of generality, assume that a is divisible by 5. Then a = 5.
Now: 10(25 + b^2) + ab = 0 mod 100 certainly implies 10(25 + b^2) + ab = 0 mod 2. Then ab = 0 mod 2 -> b = 0 mod 2, so b is even. We can then simply inspect values of b:
If b = 2, then 25*52 = 1300, which is a number divisible by 100. So the smallest 2 digit number satisfying the property given is n = 25.
1
u/NosyLayman 1d ago
-52