Solution 1
We know that a1=t+1t when t=2020 so 1 is a possible value of j. Note also that a2=20402038=10201019=t+1t for t=1019. Then a2+q=1020+19q1019+18q unless 1019+18q and 1020+19q are not relatively prime which happens when q+1 divides 18q+1019 (by the Euclidean Algorithm), or q+1 divides 1001. Thus, the least value of q is 6 and j=2+6=8. We know a8=1020+1141019+108=11341127=162161. Now a8+q=162+19q161+18q unless 18q+161 and 19q+162 are not relatively prime which happens the first time q+1 divides 18q+161 or q+1 divides 143 or q=10, and j=8+10=18. We have a18=162+190161+180=352341=3231. Now a18+q=32+19q31+18q unless 18q+31 and 19q+32 are not relatively prime. This happens the first time q+1 divides 18q+31 implying q+1 divides 13, which is prime so q=12 and j=18+12=30. We have a30=32+22831+216=260247=2019. We have a30+q=19q+2018q+19, which is always reduced by EA, so the sum of all j is 1+2+8+18+30=059.
~sugar_rush
Remark 1
Whenever a fraction is in the form t+1t in lowest terms, the difference between the numerator and the denominator in the original fraction will always divide the numerator. We can model aj as m+19k+1m+18k (not necessarily simplified) if aj−k=m+1m for integers j and k. We want the least k such that gcd(k+1,m+18k)=1. Let d be a divisor of both k+1 and m+18k, then d∣18k+18, so d∣m−18. This follows from the Euclidean Algorithm.
~Magnetoninja
Remark 2
The reason we look for the least q in each case is because after that q or j value, the fraction will simplify to m/n again and it won't follow the condition we defined. For example, in the a2+q=1020+19q1019+18q case, after j=8, the equation becomes useless because the fraction has simplified to something different, so we "switch over" to a8+q=162+19q161+18q.
~grogg007
Solution 2 (Euclidean Algorithm and Generalization)
Let aj1,aj2,aj3,…,aju be all terms in the form t+1t, where j1andt$ is some positive integer.
We wish to find ∑i=1uji. Suppose aji=m+1m for some positive integer m.
_**To find aji+1, we look for the smallest positive integer k′ for which
aji+1=aji+k′=m+1+19k′m+18k′
is reducible:**_
If m+1+19k′m+18k′ is reducible, then there exists a common factor d>1 for m+18k′ and m+1+19k′. By the Euclidean Algorithm, we have
d∣m+18k′ and d∣m+1+19k′⟹d∣m+18k′ and d∣k′+1⟹d∣m−18 and d∣k′+1.
Since m−18 and k′+1 are not relatively prime, and m is fixed, the smallest value of k′ such that m+1+19k′m+18k′ is reducible occurs when k′+1 is the smallest prime factor of m−18.
We will prove that for such value of k′, the number aji+1 can be written in the form t+1t:
aji+1=aji+k′=m+1+19k′m+18k′=(m−18)+19(k′+1)(m−18)+18(k′+1)=k′+1m−18+19k′+1m−18+18,(∗)
where t=k′+1m−18+18 must be a positive integer.
We start with m=2020 and aj1=a1=20212020, then find aj2,aj3,…,aju by filling out the table below recursively:

As (j1,j2,j3,j4,j5)=(1,2,8,18,30), the answer is ∑i=15ji=059.
Remark
Alternatively, from (∗) we can set
m+1+19k′m+18k′=t+1t.
We cross-multiply, rearrange, and apply Simon's Favorite Factoring Trick to get
(k′+1)(t−18)=m−18.
Since k′+1≥2, to find the smallest k′, we need k′+1 to be the smallest prime factor of m−18. Now we continue with the last two paragraphs of the solution above.
~MRENTHUSIASM
Video Solution
https://youtu.be/oiUcYn1uYMM
~Math Problem Solving Skills
Video Solution by Punxsutawney Phil
https://youtube.com/watch?v=LIjTty3rVso
Video Solution by grogg007
https://m.youtube.com/watch?v=wvaveSgvKyc