Maths Olympiad Prep

Library / /36 of 520

Number theory Difficulty 4.7 AIME Find the answer

2. Given the sets
A={n2+1nZ+},B={n3+1nZ+} A=\left\{n^{2}+1 \mid n \in \mathbf{Z}_{+}\right\}, B=\left\{n^{3}+1 \mid n \in \mathbf{Z}_{+}\right\} \text {. }

Arrange all elements in ABA \cap B in ascending order to form the sequence a1,a2,a_{1}, a_{2}, \cdots. Then the units digit of a99a_{99} is

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

2. 2 .

From the given, we know that AB={n6+1nZ+}A \cap B=\left\{n^{6}+1 \mid n \in \mathbf{Z}_{+}\right\}.
Therefore, a99=996+1a_{99}=99^{6}+1.
Thus, its unit digit is 2.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.