(euler073) ( counter limit lo hi -- counter' )


Vocabulary
project-euler.073.private

Inputs
counteran object
limitan object
loan object
hian object


Outputs
counter'an object


Definition


:: (euler073) ( counter limit lo hi -- counter' )
lo hi mediant :> m m denominator limit <=
[ counter 1 + limit lo m (euler073) limit m hi (euler073) ]
[ counter ] if ;