Ta có :
\(B=3^{2021}.7^{2022}.13^{2023}=\left(3^{2020}.3\right).\left(7^{2020}.7^2\right).\left(13^{2023}.13^3\right)\)
\(=\left(3^4\right)^{505}.3.\left(7^4\right)^{505}.7^2.\left(13^4\right)^{505}.13^3\)
= (.......1).3 . (......1).49 . (.......1).(....7)
= (.........3).(......9).(.......7) = (......9)
Vậy chữ số hàng đơn vị của B là 9.