Behavior of quadratic_L_function__exact()

asked 8 years ago

user101214 gravatar image

updated 8 years ago

I need to evaluate L-functions of the form n=0(Dn)ns

at integers, where () is the Kronecker symbol. This is apparently what quadratic_L_function__exact(k,D) does. However I find this unreliable when D is not squarefree.

For example, the value quadratic_L_function__exact(2,4) = pi^2 / 6 is not what I need; the series above is actually pi^2 / 8. However, the value quadratic_L_function__exact(2,12) = 1/18 * sqrt(3) * pi^2 seems correct. I can't tell what's going on.

Preview: (hide)

Comments

It looks like the first operation done is to make D squarefree...

sage: set( [ quadratic_L_function__exact( 2,k^2 ) for k in [1..100] ] )
{1/6*pi^2}
dan_fulea gravatar imagedan_fulea ( 8 years ago )