Determine the minimum value of a positive integer N such that:
o N has the form: 97.......97, and:
o N is divisible by 99
H M found the answer first, but ...
Call the final number: 97X97, where X is an integer of n digits.
If n is odd, X must be 4 mod 9, and 0 mod 11
If n is even, X must be 4 mod 9, and 4 mod 11
4 is of course 4 both mod 9 and mod 11, but it is unfortunately an odd number of digits. But 04 is an even number of digits.
So 04 is the smallest X value that works.
970497 = 9803 * 99
|
Posted by Larry
on 2022-01-04 08:50:35 |