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.

A110625 Numerator of b(n) = -Sum_{k=1..n} A037861(k)/((2*k)*(2*k+1)), where A037861(k) = (number of 0's) - (number of 1's) in the binary representation of k.

Original entry on oeis.org

1, 1, 3, 101, 5807, 77801, 82949, 170636, 170636, 170636, 363113, 363113, 84848, 710567, 22435781, 3901243741, 27210449083, 1003538672911, 248595095590537, 10165684261926701, 438167567023512863, 439119040574907047
Offset: 1

Views

Author

Jonathan Sondow, Aug 01 2005

Keywords

Comments

Numerators of partial sums of a series for the "alternating Euler constant" log(4/Pi) (see A094640 and Sondow 2005, 2010). Denominators are A110626.

Examples

			a(3) = 3 because b(3) = 1/6 + 0 + 1/21 = 3/14.
The first few fractions b(n) are 1/6, 1/6, 3/14, 101/504, 5807/27720, 77801/360360, 82949/360360, ... = A110625/A110626. - _Petros Hadjicostas_, May 15 2020
		

Crossrefs

Programs

  • PARI
    a(n) = numerator(-sum(k=1, n, (#binary(k) - 2*hammingweight(k))/(2*k*(2*k+1)))); \\ Petros Hadjicostas, May 15 2020

Formula

Lim_{n -> infinity} b(n) = log 4/Pi = 0.24156...