\(A=5^{160}+5^{159}+....+5^{21}+5^{20}\)
\(5A=5^{161}+5^{160}+......+5^{22}+5^{21}\)
\(5A-A=\left(5^{161}+5^{160}+.....+5^{21}\right)-\left(5^{160}+5^{159}+.....+5^{20}\right)\)
\(4A=5^{161}-5^{20}\)
Thay vào đẳng thức 4A + 520 = 5n
=> \(5^{161}-5^{20}+5^{20}=5^n\)
=> \(5^{161}=5^n\)
=> n = 161