Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Stieltjes constants #21899

Open
cheuberg opened this issue Nov 19, 2016 · 8 comments
Open

Document Stieltjes constants #21899

cheuberg opened this issue Nov 19, 2016 · 8 comments

Comments

@cheuberg
Copy link
Contributor

According to https://en.wikipedia.org/wiki/Stieltjes_constants as well as
to http://dlmf.nist.gov/25.2.E4, the Laurent series expansion of the Riemann
zeta function around s=1 is

zeta(s) = 1/(s-1) + gamma_0 - gamma_1 (s-1) + O((s-1)^2).

However, sage says

sage: zeta(s).series(s==1, 2)
1*(s - 1)^(-1) + (euler_gamma) + (-1/2*stieltjes(1))*(s - 1) + Order((s - 1)^2)

(note the denominator 2 in the coefficient of (s-1)).

Numerically,

sage: stieltjes(1.)
-0.0728158454836767

and Wikipedia states that

gamma_1 = −0.0728158454836767248605863758749013191377363383 	 ...

It seems that there is an incorrect factor in sage (this is now fixed and doctested).

When fixing this, the documentation of stieltjes should be improved to actually contain a definition of the stieltjes constants instead of simply stating that "The Stieltjes constants are used in the series expansions of zeta(s)."

Depends on #21855

CC: @behackl

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/21899

@cheuberg cheuberg added this to the sage-7.5 milestone Nov 19, 2016
@cheuberg

This comment has been minimized.

@rwst
Copy link

rwst commented Nov 24, 2016

comment:2

See #21963 where I fixed the doctests. I thought it better to use this ticket for the documentation fixes.

@behackl
Copy link
Member

behackl commented Nov 24, 2016

comment:3

Replying to @rwst:

See #21963 where I fixed the doctests. I thought it better to use this ticket for the documentation fixes.

Thank you Ralf! We'll polish the documentation of Stieltjes-constants on this ticket.

@cheuberg
Copy link
Contributor Author

comment:4

I suggest to have one doctest with slightly increased precision for zeta around 1, just to see more than one stieltjes constant.

@cheuberg
Copy link
Contributor Author

Dependencies: #21855

@cheuberg
Copy link
Contributor Author

Upstream: Fixed upstream, in a later stable release.

@rwst

This comment has been minimized.

@rwst
Copy link

rwst commented Dec 20, 2016

Changed upstream from Fixed upstream, in a later stable release. to none

@rwst rwst changed the title Incorrect Series Expansions of zeta(s) around 1 Document Stieltjes constants Dec 20, 2016
@mkoeppe mkoeppe removed this from the sage-7.5 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants