For what single digit n does 91 divide the 9-digit number 12345n789?
A number or a short expression. Spacing and $ signs are ignored.
Solution
Solution 1: 123450789 leaves a remainder of 7 when divided by 91, and 1000 leaves a remainder of 90, or -1, so adding 7 multiples of 1000 will give us a multiple of 91. Solution 2: For those who don't like long division, there is a quicker way. First notice that 91=7⋅13, and 7⋅11⋅13=1001. Observe that 12345n789=123⋅1001000+45n⋅1001−123⋅1001+123−45n+789. It follows that 91 will divide 12345n789 iff 91 divides 123−45n+789=462−n. The number 462 is divisible by 7 and leaves a remainder of 7 when divided by 13.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: Omni-MATH,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.