abc = 100a +10b+ 1c
bca = 100b+10c+1a
cab = 100c + 10a + 1b
ab =10a + 1b
bc = 10b + 1c
ca =10c + 1a
Fractia este:
100a+10b+1c+100b+10c+1a+100c+10a+1b
--------------------------------------
10a+1b+10b+1c+10c+1a
se simplifică prin : 10a+1b+10b+1c+10c+1a
Astfel fractia devine:
100a+100b+100c
-----------------------------
1
Sper ca te-am ajutat!