SICP-answers icon indicating copy to clipboard operation
SICP-answers copied to clipboard

2.5

Open TakaiKinoko opened this issue 6 years ago • 1 comments

I'll suggest a corner case to your algorithm: 40, which can't be reduced to the product of 2^a and 3^b.

TakaiKinoko avatar Dec 05 '18 16:12 TakaiKinoko

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).

bfjei2825401 avatar May 09 '19 07:05 bfjei2825401