Bài 1:
$B=1+3+3^2+3^3+...+3^{100}$
$=1+(3+3^2)+(3^3+3^4)+...+(3^{99}+3^{100})$
$=1+3(1+3)+3^3(1+3)+...+3^{99}(1+3)$
$=1+(1+3)(3+3^3+...+3^{99})=1+4(3+3^3+....+3^{99})$
$\Rightarrow B$ chia 4 dư 1.
Bài 2:
$C=5-5^2+5^3-5^4+...+5^{2023}-5^{2024}$
$5C=5^2-5^3+5^4-5^5+...+5^{2024}-5^{2025}$
$\Rightarrow C+5C=5-5^{2025}$
$6C=5-5^{2025}$
$C=\frac{5-5^{2025}}{6}$