olymmath

AUSTRIAN-POLISH 1984 Problem 2

    Let AA be the set of four-digit natural numbers having exactly two distinct digits, none of which is zero. Interchanging the two digits of n∈An\in A yields a number f(n)∈Af (n) \in A (for instance, f(3111)=1333f (3111) = 1333 ). Find those n∈An \in A with n>f(n)n > f (n) for which gcd(n,f(n))gcd(n, f (n)) is the largest possible.

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator austrian-polish/1984/p2 · Tag 9TKPEQR4ZG · Edit this page on GitHub · Keys: j next, k previous