# lerch_phi function

Lerch transcendent: the sum of z^k / (k + a)^s over k from 0.

## How to write it

### lerch_phi(z, s, a)

**z**

A number. Takes an expression.

**s**

A number. Takes an expression.

**a**

A number. Takes an expression.

## Examples

- $\displaystyle \Phi(1, 2, 3) = \frac{\pi^{2}}{6}-\frac{5}{4}$

  `lerch_phi(1, 2, 3)`

  In the solver, `lerch_phi(1, 2, 3)` gives `pi^2/6 - 5/4`.

  [Open in the solver](https://hilberon.com/?q=lerch_phi%281%2C%202%2C%203%29)

## Related functions

- [log_gamma](https://hilberon.com/library/log_gamma)

  Logarithm of the gamma function.
- [legendre_q](https://hilberon.com/library/legendre_q)

  Legendre function of the second kind.
- [log_integral](https://hilberon.com/library/log_integral)

  Logarithmic integral li(x).
- [legendre_p](https://hilberon.com/library/legendre_p)

  Legendre polynomial.
- [parabolic_cylinder_d](https://hilberon.com/library/parabolic_cylinder_d)

  Parabolic cylinder function D.
- [lambert_w](https://hilberon.com/library/lambert_w)

  Lambert W function: the inverse of w exp(w), on its principal branch.

---
Source: https://hilberon.com/library/lerch_phi
