A383690 Positions of digits in the decimal expansion of Pi where the cumulative sum of even digits equals the cumulative sum of odd digits (positions 1, 2, 3, ... refer to the digits 3, 1, 4, ...).
3, 268, 375, 376, 402
Offset: 1
Examples
3 is in this sequence because when considering the first 3 decimal places in the decimal expansion of Pi, which are 3, 1 and 4, it is satisfied that 3 + 1 = 4.
Programs
-
Mathematica
p = RealDigits[Pi, 10, 10^4][[1]]; Flatten@ Position[ Accumulate[(-1)^p p], 0] (* Giovanni Resta, May 10 2025 *)
Comments