a(n) = Sum_{k=1..n} (-1)^A000796(k), excess of the number of even over odd digits in the first n digits of Pi.

A175792

a(n) = Sum_{k=1..n} (-1)^A000796(k), excess of the number of even over odd digits in the first n digits of Pi.

Terms

    a(0) =-1a(1) =-2a(2) =-1a(3) =-2a(4) =-3a(5) =-4a(6) =-3a(7) =-2a(8) =-3a(9) =-4a(10) =-5a(11) =-4a(12) =-5a(13) =-6a(14) =-7a(15) =-8a(16) =-7a(17) =-8a(18) =-7a(19) =-6a(20) =-5a(21) =-4a(22) =-3a(23) =-2a(24) =-3a(25) =-4a(26) =-3a(27) =-4a(28) =-3a(29) =-4

External references