\(B=1+7+7^2+7^3+...+7^{150}\)
\(7B=7.\left(1+7+7^2+7^3+...+7^{150}\right)\)
\(7B=7+7^2+7^3+7^4+...+7^{151}\)
\(7B-B=\left(7+7^2+7^3+7^4+...+7^{151}\right)-\left(1+7+7^2+7^3+...+7^{150}\right)\)
\(6B=\left(7^{151}-1\right)\)
\(B=\left(7^{151}-1\right):6\)
B = 1 + 7 + 72 + ...+ 7150
7.B = 7 + 72+.....+ 7150 + 7151
7B - B = 7151 - 1
6B = 7151 - 1
B = \(\dfrac{7^{151}-1}{6}\)