Problem:
Consider the sequence (akβ)kβ₯1β of positive rational numbers defined by a1β=20212020β and for kβ₯1, if akβ=nmβ for relatively prime positive integers m and n, then
ak+1β=n+19m+18β.
Determine the sum of all positive integers j such that the rational number ajβ can be written in the form t+1tβ for some positive integer t.
Solution:
Note that all the terms in the sequence (akβ)kβ₯1β are strictly between 1918β and 1 . Call an integer j simple if the rational number ajβ can be written in the form t+1tβ for some integer t>18. Suppose j is a simple positive integer and term j of the sequence is ajβ=t+1tβ. Let t=p1βp2ββ―pββ+18 with p1ββ€p2ββ€β―β€pββ being the primes in the prime factorization of tβ18. Note that for any positive integer k, the greatest common divisor of t+18k and t+1+19k is
gcd(t+18k,t+1+19k)=gcd(t+18k,k+1)=gcd(tβ18,k+1)
Thus this greatest common divisor is first greater than 1 when k=p1ββ1, in which case the greatest common divisor is equal to p1β. At that point,
aj+p1ββ1β=t+1+19(p1ββ1)t+18(p1ββ1)β=p1βp2ββ―pββ+19p1βp1βp2ββ―pββ+18p1ββ=p2βp3ββ―pββ+19p2βp3ββ―pββ+18β
so j+(p1ββ1) is the next integer greater than j that is simple. By the same reasoning, the numbers
j+(p1ββ1)+(p2ββ1),β¦,j+(p1ββ1)+(p2ββ1)+(p3ββ1)+β―+(pβββ1)
are all the simple numbers exceeding j+(p1ββ1).
The first simple number is j=1 for which t=2020=2002+18=2β
7β
11β
13+18. Therefore the sequence of simple numbers is 1,2,8,18, and 30 . The requested sum is
1+2+8+18+30=59