D÷I=C si Rest ,C=2×R⇒D÷27=2×R siR
conform teoremei imp.cu rest⇒D=27×2×R+R
55×R=D
pt.R=1⇒D=55,R=2⇒D=110,R=3⇒D=165,R=4⇒D=220...R=26⇒D=1430
restul este mai mic decat impartitorul⇒este mai mic decat 27,care este26
suma nr cautate este:55+110+165+220+....+1430=55×(1+2+3+4+...+26)=
55×S26=55×26×27/2=1485×23=34155,undeS26=suma gauss de 26