Deimpartit=impartitor ×cat+rest; restul restul <7 ;restul={0,1,2,3,4,5,6};
A) când restul e par;restul={0,2,4,6}
1) când restul=0; D=7×39+0=273+0=273;
2)când restul=2; D=7×39+2=273+2=275;
3)când restul =4; D=7×39+4=273+4=277;
4 )când restul=6; D =7×39+6=273+6=279;
B) când restul e impar ;restul={1,3,5};
5)când restul=1; D=7×39+1=273+1=274;
6)când restul=3; D=7×39+3=273+3=276;
7)când restul=5; D=7×39+5=273+5=278