A275712 Decimal expansion of the sum of the alternating series of reciprocals of nonprime numbers.
8, 4, 8, 1, 3, 2, 2, 1, 1, 8, 7, 6, 9, 8
Offset: 0
Examples
0.84813221187698...
Links
- Jon E. Schoenfield, Chart showing the rapid convergence of the "adjusted sums" S'(j) (regardless of the parity of j or of the j-th nonprime) as compared to the unadjusted sums S(j) as described in Comments
- Jon E. Schoenfield, Chart showing the very rapid convergence of the "adjusted sums" S'(j), and highlighting the especially rapid convergence of the subsequence of such sums for which the j-th nonprime is odd
Programs
-
Mathematica
NonPrime[n_] := FixedPoint[n + PrimePi@# &, n + PrimePi@n]; N[Sum[(-1)^n/NonPrime[n], {n, 1, 200}], 25] (* G. C. Greubel, Aug 06 2016 *)
-
Sage
nonprime = (i for i in NN if i>0 and not i.is_prime()) s = RLF(0); s RealField(110)(s) for i in range(0, 50000): s += (-1)^i / next(nonprime) print(s) # Terry D. Grant, Aug 06 2016
Formula
Extensions
Incorrect terms a(7)-a(10) deleted, and corrected terms a(7)-a(9) added, by Robert Price, Nov 09 2016
a(10)-a(13) from Robert Price, Nov 13 2016
Comments