2004 AIME I Problems/Problem 15
Problem
For all positive integers let

and define a sequence as follows: and
for all positive integers
Let
be the smallest
such that
(For example,
and
) Let
be the number of positive integers
such that
Find the sum of the distinct prime factors of