stuff
This commit is contained in:
@ -12,3 +12,9 @@ def get_totatives(num):
|
||||
|
||||
def totient(num):
|
||||
pass
|
||||
|
||||
assert( compute_divisors(60) == [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60] )
|
||||
assert( sum_of_divisors(60) == 168 )
|
||||
assert( divisor_count(60) == 12 )
|
||||
assert( get_totatives(30) == [1, 7, 11, 13, 17, 19, 23, 29] )
|
||||
assert( totient(30) == 8 )
|
Reference in New Issue
Block a user