Research Article

Fraction Reduction in Membrane Systems

Algorithm 1

Fraction reduction.
Input: , ;
Output: ( is the simplest proper fraction of );
Procedure:
 //calculate ,
   ;
   , ;
  repeat
    ;
    ;
    ;
  until ;
 //calculate ;
   ;
   ;
   ;
  while   {
    ;
    ;
   }
End.