cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A242972 Decimal expansion of a constant related to Niven's constant.

This page as a plain text file.
%I A242972 #9 Feb 16 2025 08:33:22
%S A242972 8,9,2,8,9,4,5,7,1,4,5,1,2,6,6,0,9,0,4,5,7,0,0,9,4,3,0,0,2,2,4,2,7,0,
%T A242972 9,3,3,6,0,5,0,4,0,8,5,9,4,4,5,6,8,4,3,2,6,4,7,4,9,5,6,7,9,0,7,4,3,7,
%U A242972 2,7,3,4,3,8,7,2,7,6,5,6,4,9,4,9,0,6,6,9,6,8,8,7,3,6,9,4,1,7,8,3
%N A242972 Decimal expansion of a constant related to Niven's constant.
%D A242972 Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 2.6 Niven's constant, p. 113.
%H A242972 Eric Weisstein's MathWorld, <a href="https://mathworld.wolfram.com/NivensConstant.html">Niven's Constant</a>
%F A242972 Equals Sum_(p prime) (zeta(p)-1).
%F A242972 Equals Sum_{k>=2} Sum_{p prime} 1/k^p. - _Amiram Eldar_, Aug 21 2020
%e A242972 0.89289457145126609045700943002242709336...
%t A242972 digits = 100; k0 = 100; dk = 50; $MaxExtraPrecision = 12*digits; z[n_?NumericQ] := Zeta[Prime[n // Floor]]; Clear[s]; s[k_] := s[k] = NSum[z[n] - 1, {n, 1, k}, WorkingPrecision -> digits + 10, NSumTerms -> 10*digits]*(1 + NSum[Zeta[n] - 1, {n, k + 1, Infinity}, WorkingPrecision -> digits + 10]); s[k0] ; s[k = k0 + dk]; While[RealDigits[s[k], 10, digits] != RealDigits[s[k - dk], 10, digits], Print["k = ", k]; k = k + dk]; RealDigits[s[k], 10, digits] // First
%Y A242972 Cf. A033150, A072102, A090699.
%K A242972 nonn,cons
%O A242972 0,1
%A A242972 _Jean-François Alcover_, May 28 2014