You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pair number is regarded as the exponents of 2 and 3 respectively, so the product 2^a and 3^b can only be divided by 2 and 3 (no other prime number factors).
I'll suggest a corner case to your algorithm: 40, which can't be reduced to the product of 2^a and 3^b.
The text was updated successfully, but these errors were encountered: