OFFSET
0,2
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 2.4 Artin's constant, p. 105.
LINKS
K. R. Matthews, A generalisation of Artin's conjecture for primitive roots, Acta arithmetica, Vol. 29, No. 2 (1976), pp. 113-146.
FORMULA
C_3 = Product_{p prime} 1 - (p^3 - (p - 1)^3)/(p^3*(p - 1)).
EXAMPLE
0.0608216551203050860056322754619208554313373734757679419826434...
MATHEMATICA
digits = 70; $MaxExtraPrecision = 1000; m0 = 2000; dm = 200; Clear[s]; LR =
LinearRecurrence[{2, 2, -6, 4, -1}, {0, 6, 0, 22, 5}, 2 m0]; r[n_Integer] := LR[[n]]; s[m_] := s[m] = NSum[-r[n] PrimeZetaP[n]/n, {n, 2, m}, NSumTerms -> 2 m0, WorkingPrecision -> digits+10] // Exp; s[m0]; s[m = m0+dm]; While[RealDigits[s[m], 10, digits][[1]] != RealDigits[ s[m-dm], 10, digits][[1]], Print[m]; m = m + dm]; Join[{0}, RealDigits[ s[m], 10, digits][[1]]]
PROG
(PARI) prodeulerrat(1 - (p^3 - (p - 1)^3)/(p^3*(p - 1))) \\ Amiram Eldar, Mar 16 2021
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jean-François Alcover, Apr 16 2016
EXTENSIONS
More digits from Vaclav Kotesovec, Jun 19 2020
STATUS
approved