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.

Showing 1-2 of 2 results.

A118031 Decimal expansion of the sum of the reciprocals of the palindromic numbers A002113.

Original entry on oeis.org

3, 3, 7, 0, 2, 8, 3, 2, 5, 9, 4, 9, 7, 3, 7, 3, 3, 2, 0, 4, 9, 2, 1, 5, 7, 2, 9, 8, 5, 0, 5, 5, 3, 1, 1, 2, 3, 0, 7, 1, 4, 5, 7, 7, 7, 9, 4, 5, 2, 7, 7, 8, 4, 9, 1, 3, 3, 5, 0, 6, 8, 9, 2, 5, 9, 8, 2, 5, 1, 9, 7, 6, 0, 3, 4, 9, 4, 7, 6, 7, 5, 8, 9, 7, 0, 3, 0, 1
Offset: 1

Views

Author

Martin Renner, May 11 2006

Keywords

Comments

The sum using all palindromic numbers < 10^8 is 3.37000183240... Extrapolating using Wynn's epsilon method gives a value near 3.37018... - Eric W. Weisstein, May 14 2006

Examples

			3.3702832594973733204921572985...
		

Crossrefs

Cf. A002113.
Similar sequences: A118064, A194097, A244162.

Programs

  • Mathematica
    NextPalindrome[n_] := Block[{l = Floor[ Log[10, n] + 1], idn = IntegerDigits@ n}, If[ Union@ idn == {9}, Return[n + 2], If[l < 2, Return[n + 1], If[ FromDigits[ Reverse[ Take[ idn, Ceiling[l/2]]]] > FromDigits[ Take[idn, -Ceiling[l/2]]], FromDigits[Join[Take[idn, Ceiling[l/2]], Reverse[Take[idn, Floor[l/2]]]]], idfhn = FromDigits[Take[idn, Ceiling[l/2]]] + 1; idp = FromDigits[ Join[ IntegerDigits@ idfhn, Drop[ Reverse[ IntegerDigits@ idfhn], Mod[l, 2]]]]]]]]; pal = 1; sm = 0; Do[ While[pal < 10^n + 1, sm = N[sm + 1/pal, 128]; pal = NextPalindrome@ pal]; Print[{n, sm}], {n, 0, 17}] (* Robert G. Wilson v, Oct 20 2010 *)

Formula

a(n) = Sum_{palindromes p>0} 1/p.
a(n) = Sum_{n>=2} 1/A002113(n).

Extensions

Corrected by Eric W. Weisstein, May 14 2006
Corrected and extended by Robert G. Wilson v, Oct 20 2010
Corrected and extended by Joseph Myers, Jun 26 2014

A194097 Decimal expansion of the sum of the reciprocals of A016041 (primes that are binary palindromes).

Original entry on oeis.org

8, 1, 5, 7, 1, 0, 1, 9, 6, 2, 9, 0
Offset: 0

Views

Author

Kausthub Gudipati, Aug 15 2011

Keywords

Examples

			Partial sum is 0.81571010760865175... if primes up to 40 binary digits are included; partial sum is 0.8157101534554485... if summed to 42 binary digits. - _R. J. Mathar_, Aug 27 2011
Partial sum is 0.81571019628323164... for primes up to 66 bits. - _Martin Raab_, Jan 13 2012
		

Crossrefs

Extensions

a(6)-a(11) from Martin Raab, Jan 13 2012
Edited by Jon E. Schoenfield, Nov 27 2016
Showing 1-2 of 2 results.