\(A=1+3+3^2+.....+3^{2018}\)
\(\Leftrightarrow3A=3+3^2+...........+3^{2018}+3^{2019}\)
\(\Leftrightarrow3A-A=\left(3+3^2+.........+3^{2019}\right)-\left(1+3+......+3^{2018}\right)\)
\(\Leftrightarrow2A=2^{2019}-1\)
Mà \(B=2^{2019}\)
\(\Leftrightarrow2A;B\) là 2 số tự nhiên liên tiếp