Ta có :
\(B=3+3^3+3^5+..............+3^{1991}\)
\(\Leftrightarrow B=\left(3+3^3+3^5\right)+\left(3^7+3^9+3^{11}\right)+...............+\left(3^{1987}+3^{1989}+3^{1991}\right)\)
\(\Leftrightarrow B=1\left(3+3^3+3^5\right)+..............+3^{1987}\left(3+3^3+3^5\right)\)
\(\Leftrightarrow B=273+.............+3^{1987}.273\)
\(\Leftrightarrow B=273\left(1+..........+3^{1987}\right)\)
Mà \(273⋮13\)
\(\Leftrightarrow B⋮13\Leftrightarrowđpcm\)
Lại có :
\(B=3+3^3+3^5+..............+3^{1991}\)
\(\Leftrightarrow B=\left(3+3^3+3^5+3^7\right)+..........\left(3^{1985}+3^{1987}+3^{1989}+3^{1991}\right)\)
\(\Leftrightarrow B=1\left(3+3^3+3^5+3^7\right)+..........+3^{1985}\left(3+3^3+3^5+3^7\right)\)
\(\Leftrightarrow B=2460+..............+3^{1985}.2460\)
\(\Leftrightarrow B=2460\left(1+............+3^{1985}\right)\)
Mà \(2460⋮41\)
\(\Leftrightarrow B⋮41\rightarrowđpcm\)