Cyclic group

Sign in to test your solution.
def is_generator(g: int, n: int) -> bool: ... # Zet onderstaande regels uit commentaar om lokaal te testen # print(is_generator(2, 5))