For each positive integer , let be the sum of the squares of the digits of . For example, . Determine all integers such that .
OIM 2019
Iberoamerican Mathematical Olympiad 2019.
Other problems
Determine all polynomials with degree and integer coefficients so that for every real number the following condition is satisfied
Let be the circumcircle of triangle . The line parallel to passing through meets at ( ), and the line parallel to passing through intersects to ( ). Lines and meet at , and lines and meet at . Let be the midpoint of . Line meets at ( ) and line at . Line intersects the circumcircle of triangle at ( ). If lines and meet each other at , show that lies on the line .
Let be a trapezoid with and inscribed in a circumference . Let and be two points on segment ( , , , appear in that order and are distinct) such that . Let and be the second intersection points of lines and with , respectively. Lines and intersect at . Prove that line is tangent to .
Don Miguel places a token in one of the vertices determined by an board. A move consists of moving the token from the vertex on which it is placed to an adjacent vertex which is at most away, as long as it stays on the board. A path is a sequence of moves such that the token was in each one of the vertices exactly once. What is the maximum number of diagonal moves (those of length ) that a path can have in total?
Let be positive integers and a polynomial with integer coefficients such that, for every positive integer , Prove that is a constant polynomial.