ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 17 Dec 2013 05:33:16 +0100is multiplicative group of Q5 right?https://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();Sun, 15 Dec 2013 03:17:36 +0100https://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>
https://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?
Sun, 15 Dec 2013 06:51:22 +0100https://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>
https://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 Tue, 17 Dec 2013 05:33:16 +0100https://ask.sagemath.org/question/10574/is-multiplicative-group-of-q5-right/?comment=15826#post-id-15826