A number is called lucky if computing the sum of the squares of its digits and repeating this operation sufficiently many times leads to number . For example, is lucky, as . Find infinitely many pairs of consecutive numbers each of which is lucky.
OMM 1998
Mexican Mathematical Olympiad 1998.
Other problems
Rays and forming an angle of are drawn from the same point. Let be a fixed point on . For each circle tangent to at and intersecting at and , let be the intersection point of the bisector of angle with . Describe the locus of and justify your answer.
Find all integers that can be written in the form where are nonzero digits, not necessarily different.
The tangents at points and on a given circle meet at point . Let be a point on segment and let meet the circle again at . The line through parallel to intersects at . Prove that is parallel to if and only if .
A plane in space is equidistant from a set of points if its distances from the points in the set are equal. What is the largest possible number of equidistant planes from five points, no four of which are coplanar?