Ask Your Question

Dianyan Xiao's profile - activity

2014-09-18 16:59:26 +0200 answered a question An imperfection about the output format of group algebra

I think it would be better if I can upload the picture, because the format changes when I paste the texts here. However, I can not upload the picture of the result now. I think you guys may have a try about that.

2014-09-18 16:55:36 +0200 asked a question An imperfection about the output format of group algebra

Hi, guys. I am not sure that whether there has some else came across the same problem with me. I wanted to compute some formula in the algebra of linear group GL(2,F_q) for some prime power q. Then I asked sage to print the result for me, the format was quite weird. Each row of the 2X2 matrix got printed in two lines. It was something like:

 2*[1 0]
[0 1] + [1 0]
[1 1] + [      1       0]
[g^2 + 1       1] + [  1   0]
[g^2   g] + [      1       0]
[g^2 + 1       g] + [  1   0]
[  0 g^2] + [  1   0]
[g^2 g^2] + [      1       0]
[      1 g^2 + 1] + [      1       0]
[      g g^2 + 1] + [g 0]
[g 1] + [    g     0]
[    1 g + 1]

I think the results can be printed in a more perfect way.

2014-09-18 16:46:56 +0200 asked a question There is something wrong with the generator of a finite field

Hi, I am using the sentence" K.<g>=GF(q) " to generate a finite field F_q. When q is a power bigger than 1 of a prime, it is OK. However, when q is a prime, then g turns to be 1. Apparently, 1 is not a generator of a finite field, at least not a generator of the multiplicative group F_{q}^{*}