Problem 2:
Write a function that takes as input a positive integer and outputs the first levels of the cyclotomic -extension of as a tower of relative extensions (so each field has degree 3 over the one below it). The code should 'work' in general, though of course it will likely be very, very slow as gets bigger. How big of can you give as input before this starts taking a long time or getting slow?
Figuring out what I mean by "the cyclotomic extension of " is part of this problem. If you don't know, start by asking any student of Ralph Greenberg.
Let be the cyclotomic field of order and write . Let be a primitive th root of unity and for . Then is invariant under for all and is invariant under if and only if (take the mod ). Hence, the fixed field of is . The code below will successfully adjoin the 's using the fact (which can be proved via induction) that solves .