1 USING: math.primes.factors tools.test ;
3 { { 999983 999983 1000003 } } [ 999969000187000867 factors ] unit-test
4 { { } } [ -5 factors ] unit-test
5 { { { 999983 2 } { 1000003 1 } } } [ 999969000187000867 group-factors ] unit-test
6 { { 999983 1000003 } } [ 999969000187000867 unique-factors ] unit-test
7 { 999967000236000612 } [ 999969000187000867 totient ] unit-test
8 { 0 } [ 1 totient ] unit-test