Home » Aptitude » Numbers

On multiplying a number by 7, the product is a number consisting only of the digit 3. Find the smallest such product.

Difficulty: Medium

Correct Answer: 333333

Explanation:

Given data

  • We need the smallest repdigit of 3s (say with k digits) that is divisible by 7.

Concept / Approach

  • Let ak be the k-digit number of all 3s. Recurrence (mod 7): ak+1 ≡ 10·ak + 3 (mod 7) and since 10 ≡ 3 (mod 7), ak+1 ≡ 3(ak + 1) (mod 7).

Step-by-step residues (mod 7)

a1 = 3 ≡ 3a2 ≡ 3(3 + 1) = 12 ≡ 5a3 ≡ 3(5 + 1) = 18 ≡ 4a4 ≡ 3(4 + 1) = 15 ≡ 1a5 ≡ 3(1 + 1) = 6 ≡ 6a6 ≡ 3(6 + 1) = 21 ≡ 0 ⇒ divisible by 7


Conclusion

The smallest all-3s multiple of 7 has 6 digits: 333333.


Final Answer

Smallest such product = 333333.

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion