Ask Your Question

# how to get frobenius_element() in numberfield?

CLO7.<u> = CyclotomicField(7)

CLO7().***frobenius_element***()

Traceback (click to the left of this block for traceback)
...
AttributeError:
'sage.rings.number_field.number_field_element.NumberFieldElement_abs\
olute' object has no attribute 'frobenius_element'

edit retag close merge delete

## 1 Answer

Sort by ยป oldest newest most voted

Here is way to do it.

sage: F.<z> = CyclotomicField(7)
sage: def Frob(p):
return F.hom([z^p])
....:
sage: Frob(2)
Ring endomorphism of Cyclotomic Field of order 7 and degree 6
Defn: z |--> z^2
sage: Frob(3)
Ring endomorphism of Cyclotomic Field of order 7 and degree 6
Defn: z |--> z^3
sage: Frob(5)
Ring endomorphism of Cyclotomic Field of order 7 and degree 6
Defn: z |--> z^5
sage: Frob(97)
Ring endomorphism of Cyclotomic Field of order 7 and degree 6
Defn: z |--> -z^5 - z^4 - z^3 - z^2 - z - 1

more

## Comments

thank you very much!

( 2013-12-12 02:35:21 +0100 )edit

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

Asked: 2013-12-11 02:45:58 +0100

Seen: 173 times

Last updated: Dec 12 '13