NoCommonFactor Parameters

Top  Previous  Next

NoCommonFactor parameters allow you to access numbers which do not share a common factor.






low and high are optional and do NOT need to be factors of the number.
low and high can be higher (or lower) than number
The nocommonfactor command will return 1.




$p=nocommonfactor(12)                $p will be chosen from the set {1,5,7,11}.

$p=nocommonfactor(12,10,36)        $p will be chosen from the set {11,13,17,19,23,25,29,31,35}.


The most common reason for using a nocommonfactor parameter is to create numerators for fractions which cannot be simplified.