n = 4·3^10 + 5·3^14 +6·3^18 +.......+18·3^66 + 19·3^70=
= 3^10 ·(4 + 5·3^4 + 6·3^8 +...........+18·3^56 + 19·3^60) =
Uc(n) = Uc(3^10) ·Uc( 4+5+6+......+60) [Uc(360) = Uc(3^4) = .......Uc(3^60) = 1]
S = 4+5+6+......+60 = 60·61/2 - (1+2+3) = 1830 - 6 = 1824 Uc(1824) = 4
Uc[3^10] = 9
Uc(n) = Uc(9·4) = 6