Expression 2: "f" left parenthesis, "w" , "h" , right parenthesis equals left bracket, StartFraction, "w" min left parenthesis, left brace, left brace, mod left parenthesis, StartNestedFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" NestedOver "h" , EndNestedFraction , 1 , right parenthesis equals 0 , right brace equals 1 : left bracket, 1...length left parenthesis, left brace, mod left parenthesis, StartNestedFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" NestedOver "h" , EndNestedFraction , 1 , right parenthesis equals 0 , right brace , right parenthesis , right bracket , length left parenthesis, left brace, mod left parenthesis, StartNestedFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" NestedOver "h" , EndNestedFraction , 1 , right parenthesis equals 0 , right brace , right parenthesis plus 1 , right brace , right parenthesis Over "h" , EndFraction , min left parenthesis, left brace, left brace, mod left parenthesis, StartFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" Over "h" , EndFraction , 1 , right parenthesis equals 0 , right brace equals 1 : left bracket, 1...length left parenthesis, left brace, mod left parenthesis, StartFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" Over "h" , EndFraction , 1 , right parenthesis equals 0 , right brace , right parenthesis , right bracket , length left parenthesis, left brace, mod left parenthesis, StartFraction, left bracket, 1...1 0 0 0 0 , right bracket "w" Over "h" , EndFraction , 1 , right parenthesis equals 0 , right brace , right parenthesis plus 1 , right brace , right parenthesis , right bracketfw,h=wminmod1...10000wh,1=0=1:1...lengthmod1...10000wh,1=0,lengthmod1...10000wh,1=0+1h,minmod1...10000wh,1=0=1:1...lengthmod1...10000wh,1=0,lengthmod1...10000wh,1=0+1