Friendly numbers - Portuguese MO, Problem 3, 2008
Source:
August 31, 2010
number theory proposednumber theory
Problem Statement
Let be a natural number. Given two natural numbers and with digits, is a friend of if and only if the numbers obtained substituting each one of the digits of by the digit of which is on the same position are all multiples of . Find all the values of for which the following condition is valid:
For any two numbers and with digits, is a friend of if and only if is a friend of .