ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 16 Dec 2013 22:33:16 -0600is multiplicative group of Q5 right?http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/
K = Qp(5, print_mode='digits')
C1=CartesianProduct(ZZ,Integers(4));C1
Cartesian product of Integer Ring, Ring of integers modulo 4
C2=CartesianProduct(C1,Z5);C2
Cartesian product of Cartesian product of Integer Ring, Ring of integers modulo 4, 5-adic Ring with capped relative precision 20
C2.is_ring();Sat, 14 Dec 2013 20:17:36 -0600http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/Answer by John Cremona for <p>K = Qp(5, print_mode='digits')</p>
<p>C1=CartesianProduct(ZZ,Integers(4));C1</p>
<p>Cartesian product of Integer Ring, Ring of integers modulo 4</p>
<p>C2=CartesianProduct(C1,Z5);C2</p>
<p>Cartesian product of Cartesian product of Integer Ring, Ring of integers modulo 4, 5-adic Ring with capped relative precision 20</p>
<p>C2.is_ring();</p>
http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/?answer=15812#post-id-15812There is something missing in your code since Z5 is never defined. I assume that you meant to insert
sage: Z5 = K.integer_ring()
Secondly, if you want help then please ask a clear question! All that I see is a block of incorrect Sage code! But I can guess what you might be wanting to ask, given the title of your posting, which is perhaps to verify that the group of units of Z5 is isomorphic to Z x C4 x Z5. Is that correct?
Sat, 14 Dec 2013 23:51:22 -0600http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/?answer=15812#post-id-15812Comment by cjsh for <p>There is something missing in your code since Z5 is never defined. I assume that you meant to insert </p>
<pre><code>sage: Z5 = K.integer_ring()
</code></pre>
<p>Secondly, if you want help then please ask a clear question! All that I see is a block of incorrect Sage code! But I can guess what you might be wanting to ask, given the title of your posting, which is perhaps to verify that the group of units of Z5 is isomorphic to Z x C4 x Z5. Is that correct?</p>
http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/?comment=15826#post-id-15826thank you very much!
yes,I want what look like multiplicative group and additive group of Q5 Mon, 16 Dec 2013 22:33:16 -0600http://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/?comment=15826#post-id-15826