How do you find the order of an element in a finite field in sagemath?
I tried element.order() but it gave the order of the field rather than the order of the element.
I tried element.order() but it gave the order of the field rather than the order of the element.