a)
=9+99+999+..+99..999(de999ori)
=10-1+100-1+1000-1+..+10..00(999 de0)
=111..111110 (999de1)-999
=111..110111(999de1)
=1+1+1+..+1+0+1+1+1 (de 999 ori 1)
=999
b) Fie d un divizor comun al numerelor 3n+5 si 5n+8 =>
d I 3n+5=>d I 5 (3n+5)=>d | 15n+25
d I 5n+8=>d I 3(5n+8)=>d I 15n+24
Cum 5 (3n+5)-3 (5n+8)=1 => d I 1
Deci (3n+5;5n+8)=1 =>fractia este ireductibila.