#16477: implement Dirichlet series
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-wishlist
      Component:  number theory      |   Resolution:
       Keywords:  moebius, zeta,     |    Merged in:
  sigma, euler_phi, euler            |    Reviewers:
        Authors:  Jonathan Hanke,    |  Work issues:  use pari, g.f. input
  Ralf Stephan                       |       Commit:
Report Upstream:  N/A                |  949082ca407de7df7ae2ce31ecfad4f5d21f3ffa
         Branch:  public/dirichlet-  |     Stopgaps:
  series                             |
   Dependencies:  #18038, #18041     |
-------------------------------------+-------------------------------------

Comment (by rws):

 At the moment this is implemented:
 {{{
 sage: Lminus4 = dirichlet_series([kronecker(-4,n) for n in range(1,21)]);
 Lminus4
 1 + -1/(3^s) + 1/(5^s) + -1/(7^s) + 1/(9^s) + -1/(11^s) + 1/(13^s) +
 -1/(15^s) + 1/(17^s) + -1/(19^s) + O(21^(-s))
 sage: zeta = dirichlet_series([1]*20); zeta
 1 + 1/(2^s) + 1/(3^s) + 1/(4^s) + 1/(5^s) + 1/(6^s) + 1/(7^s) + 1/(8^s) +
 1/(9^s) + 1/(10^s) + 1/(11^s) + 1/(12^s) + 1/(13^s) + 1/(14^s) + 1/(15^s)
 + 1/(16^s) + 1/(17^s) + 1/(18^s) + 1/(19^s) + 1/(20^s) + O(21^(-s))
 sage: zeta * Lminus4^(-1)
 1 + 1/(2^s) + 2/(3^s) + 1/(4^s) + 2/(6^s) + 2/(7^s) + 1/(8^s) + 2/(9^s) +
 2/(11^s) + 2/(12^s) + 2/(14^s) + 1/(16^s) + 2/(18^s) + 2/(19^s) +
 O(21^(-s))
 }}}
 Please give a concrete example what you like to see!

--
Ticket URL: <http://trac.sagemath.org/ticket/16477#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to