The base-nine representation of the number is What is the remainder when is divided by
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
Because 9 = -1 (mod 5), N is congruent to its alternating base-nine digit sum: 2 - 5 + 6 - 7 + 2 = -2, i.e. remainder 3.
Solution
Write in expanded form: with digits ,
Since , we have . So modulo , is the alternating sum of its base-nine digits, with the units digit positive:
Only five digits are nonzero: , , , , . Even positions get , odd positions get :
The answer is .
Why this works
The familiar divisibility test for in base ten (alternating digit sum) works because . The same idea applies whenever the base is one less than a multiple of the modulus: here , so base-nine numbers reduce mod by an alternating digit sum. Look for base relations before converting anything to base ten.
The trap
Using the plain digit sum (as if 9 were 1 mod 5) or misplacing which digits sit in even and odd positions.
Common mistakes
- Using the plain digit sum (as if 9 were 1 mod 5) or misplacing which digits sit in even and odd positions.
- Converting the whole eleven-digit number to base ten, which is slow and invites arithmetic errors.
Techniques
Set up the equation/formula and compute; no special trick needed