The sum of three consecutive natural numbers has the form [tex]\overline{7a9a}[/tex]. The smallest of the three numbers is odd. Find the digit [tex]a[/tex].
Solution:
If the numbers are [tex]n[/tex], [tex]n+1[/tex], [tex]n+2[/tex], their sum is [tex]n+(n+1)+(n+2)=3n+3=3(n+1)[/tex].
Since [tex]n[/tex] is odd, [tex]n+1[/tex] is even, so the sum [tex]3(n+1)[/tex] is divisible by [tex]3[/tex] and is even.
The sum is even, so its last digit [tex]a[/tex] is even: [tex]a\in\{0, 2, 4, 6, 8\}[/tex].
Divisibility by [tex]3[/tex]: the digit sum [tex]7+a+9+a=16+2a[/tex] must be divisible by [tex]3[/tex]:
[tex]16+2a\in\{16, 20, 24, 28, 32\}[/tex]
Only [tex]24[/tex] is divisible by [tex]3[/tex], so [tex]a=4[/tex].
Check: [tex]2497+2498+2499=7494[/tex]