import numberdb.sage as numberdb
from sage.rings.integer_ring import ZZ
from sage.rings.rational_field import QQ
from sage.rings.padics.factory import Qp
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
from sage.arith.misc import bernoulli
p, n = 3, 3 # example: fourth regular coefficient
m = n + 1
N = 0
while ZZ(p)**N < ZZ(10)**100:
N += 1
A = N + 12
Q = Qp(p, prec=A+8, print_mode='val-unit')
R = PolynomialRing(Q, 't', implementation='generic')
vfac = ZZ(m).factorial().valuation(p)
K = 1
while ((p-2)*K+m+p-2)//(p-1)-2-vfac < A:
K += 1
B = [bernoulli(k, algorithm='flint') for k in range(K)]
S = Q(0)
for a in range(1, p):
F = R([Q(a).log()] + [(-1)**(j+1)*(Q(p)/a)**j/ZZ(j)
for j in range(1, K)])
G = (F**m).truncate(K)
S += sum((G[k]*B[k] for k in range(K)), Q(0))
c = ((-1)**m*S/(ZZ(p)*ZZ(m).factorial())).add_bigoh(A)
assert c and c.precision_absolute() >= N + c.valuation()
print(c.add_bigoh(N + c.valuation()))\\ c_(3,0), with at least 100 decimal-equivalent p-adic digits
-psi(1 + O(3^220))On each unit residue disk $a+p\mathbb Z_p$, the generator expands $F_a(t)=\log_p(a)+\log_p(1+pt/a)$ and integrates the coefficients of $F_a(t)^{n+1}$ against exact Bernoulli moments, including the disk factor $1/p$. The logarithms are computed by an explicitly bounded series at $a^{p-1}-1$; native Sage $p$-adic arithmetic propagates input and rounding errors.
Put $m=n+1$. A term of degree $k\geq1$ has valuation at least $E(k)=\lceil((p-2)k+m)/(p-1)\rceil-2-v_p(m!)$ after integration and normalization. The truncation chooses $E(K)\geq A$ for the entire omitted tail. Working precision is $A+8$ with $A=N_p+12$, where $N_p$ is defined in Comments; actual arithmetic precision is checked before retaining the final $O(p^{v_p(c_{p,n})+N_p})$.
Every coefficient was compared at its full retained modulus with a separate evaluation of the pole-deflated zeta/Hurwitz binomial series. That checker uses Newton-lifted Teichmüller roots, modular integer powers, an independent exact Bernoulli recurrence, and five-node rational interpolation with explicit truncation and coefficient-extraction bounds. Both methods share Volkenborn/Bernoulli theory. At all ten primes, nonzero interpolation identities and PARI zeta node controls passed, and PARI Morita digamma checked the constant term. The five published prefixes in [1] also agreed at their stated moduli. Final-digit perturbations and incorrect normalization controls were rejected. Attached mathematics and executable evidence give the bounds, actual moduli, coverage and limitations.