Răspuns :
200,110,101 in primul caz
400,310,301,220.202, 211,121.112 in al doilea caz
400,310,301,220.202, 211,121.112 in al doilea caz
pentru 2:101,11,200,20,2;
pentru 4:202,400,103,301,31,13,22,4,40,1111,112,211;
pentru 4:202,400,103,301,31,13,22,4,40,1111,112,211;