[sage-support] Re: prime ideals in Z_n

2011-03-13 Thread John Cremona
This is not a computational question at all but an easy exercise. There is one prime ideal for each prime factor p of n, namely pZ/nZ. See any book on elementary ring theory! John Cremona On Mar 12, 11:41 pm, Avishek Adhikari wrote: > Hello, >    I shall be glad, if you kindly send the help towa

Re: [sage-support] Re: Checking for convexity of Lattice Polytopes

2011-03-13 Thread Johannes
Am 24.02.2011 19:29, schrieb Dmitri: >> A chosen set of points is convex if it is equal to its convex hull. as far as I see this is equivalent to, all points are on a facet of the polytope. > I think my problem is actually doing the comparison. So I have this > chosen set of points which I don't

Re: [sage-support] sagetex and combinatorial graphs

2011-03-13 Thread Stephen Hartke
On Sun, Mar 13, 2011 at 12:08 AM, pong wrote: > A quick question. How to use sagetex to display a graph (edges and > vertices) produced by sage without saving it first manually then > \includegraphics. > Plotting graphs works by calling sageplot on the graph's plot: \sageplot{graphs.PetersenGra

[sage-support] prime ideals in Z_n

2011-03-13 Thread Avishek Adhikari
Hello, I shall be glad, if you kindly send the help towards finding the solution of the following problem using sage: In Z_n (the ring of integers modulo n), find all prime ideals. Waiting for your reply. Best regards, Avishek -- To post to this group, send email to sage-support@googlegrou