Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Question as in title, where $L(s,\chi)$ is the Dirichlet $L$-function associated with the nontrivial character modulo $3$. Please provide complete SAGE code. Thank you in advance.

share|cite|improve this question
Have you posted this on Sage's question/answer system, AskSage? Also, there's this:!topic/sage-support/… – process91 May 8 '12 at 19:30
Thank you, Michael, I will try there. – Anonymous May 8 '12 at 20:11
Feel free to post back here if you get an answer there so we can close out this question. Someone here also might be able to answer your question, so it doesn't hurt to leave it open while it's still unanswered. – process91 May 8 '12 at 21:05
Actually I managed to calculate the particular example "by hand", using that $L(1,\chi)=\sum\chi(n)/n$, $L'(1,\chi)=-\sum\chi(n)\log(n)/n$. Of course it would be nicer to use some built-in function for that purpose. – Anonymous May 8 '12 at 21:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.