MathDB
Find all numbers

Source: Indian RMO 1994 Problem 3

October 25, 2005

Problem Statement

Find all 6-digit numbers a1a2a3a4a5a6a_1a_2a_3a_4a_5a_6 formed by using the digits 1,2,3,4,5,61,2,3,4,5,6 once each such that the number a1a2a2aka_1a_2a_2\ldots a_k is divisible by kk for 1k61 \leq k \leq 6.