Python exercise

Cyclic group

Sign in to hand in your solution and get feedback.

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