Ask Your Question

Marcel's profile - activity

2021-12-27 15:02:22 +0200 received badge  Notable Question (source)
2021-12-15 01:15:53 +0200 received badge  Popular Question (source)
2019-07-31 11:51:37 +0200 received badge  Popular Question (source)
2019-03-06 16:03:38 +0200 received badge  Student (source)
2019-03-05 21:13:50 +0200 asked a question Checking that symbolic expression is zero

How do I show that a simple algebraic expression like e.g.

(-1/16*sqrt(6)*sqrt(3)*sqrt(2) + 1/16*I*sqrt(6)*sqrt(2) - 1/8*I*sqrt(3) + 3/8).full_simplify

is zero?

2017-06-24 12:10:32 +0200 commented answer Elements in the lattice $A_n$

Sorry this uses the wrong norm. Actually the norm of the OP is not a norm.

2017-06-24 12:10:32 +0200 commented answer Series expansion for theta function of even lattice

Thanks a lot. I figured this in the meanwhile and wrote my own answer which i guess needed moderating. I definitely think the documentation should be updated. Or an example like $A_2$ should be given.

2017-06-24 01:21:43 +0200 received badge  Scholar (source)
2017-06-22 15:33:56 +0200 asked a question Series expansion for theta function of even lattice

I am new to sage and trying to figure out how to calculate the series expansion of the theta function for an even lattice $L$, i.e. $$\Theta_L(q)=\sum_{x\in L} q^{\langle x,x\rangle/2}$$

I tried the following code for the $A_2$ lattice, but I doesn't really do what its supposed to do

Q=QuadraticForm(QQ,2,[2,-1,2]); Q
Q.theta_series(20)

I found the following code on https://oeis.org/A004016 (OEIS), which gives the correct result:

ModularForms( Gamma1(3), 1, prec=81).0
2017-06-22 15:33:47 +0200 answered a question Elements in the lattice $A_n$

I would suggest something like this

k=2
Q=QuadraticForm(ZZ,2,[1,-1,1]);Q
m=Q.short_vector_list_up_to_length(k^2+1)
m[k^2]

which is $A_2$ for some $k$ which gives the result in the basis $e_1=(1,-1,0), e_2=(0,1,-1)$.

2017-06-22 03:24:25 +0200 received badge  Organizer (source)