OFFSET
0,3
COMMENTS
The sequence can also be computed without reference to the Bernoulli polynomials (ultimately thanks to the von Staudt-Clausen theorem) by the method of Kellner and Sondow (2019). Compare the SageMath program.
LINKS
Bernd C. Kellner and Jonathan Sondow, On Carmichael and polygonal numbers, Bernoulli polynomials, and sums of base-p digits, arXiv:1902.10672 [math.NT], 2019.
FORMULA
PROG
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Peter Luschny, Jul 01 2020
STATUS
approved