login
A039624
Numbers n such that there are equal numbers of 0's and 1's in first n digits of binary representation of Pi.
10
4, 6, 8, 16, 30, 32, 6356, 6358, 6360, 6362, 6364, 6368, 6370, 6372, 6374, 6384, 6430, 6442, 6444, 6446, 6450, 6464, 6468, 6470, 6508, 6514, 6524, 6526, 6562, 6564, 6568, 6570, 6572, 6586, 6588, 6688, 6690, 6692, 6694, 6806, 6866, 6916, 6918, 6920, 6922
OFFSET
1,1
COMMENTS
Number of terms < 10^k: 3, 6, 6, 129, 599, 777, ..., . - Robert G. Wilson v, Apr 13 2009
Number of terms < 10^k (k = 7, 8, 9, 10): 1646, 1646, 45915, 147043. - Hans Havermann, Nov 25 2016
A039624 terms are the indices of zeros in A166006. - Hans Havermann, Nov 25 2016
LINKS
MATHEMATICA
pir = RealDigits[Pi, 2, 10^6][[1]]; fQ[n_] := Count[ Take[ pir, 2n], 1] == n; 2 Select[ Range@ 3461, fQ@# &] (* Robert G. Wilson v, Apr 13 2009 *)
Position[Accumulate[RealDigits[Pi, 2, 7000][[1]]/.(0->-1)], 0]//Flatten (* Harvey P. Dale, Jan 18 2019 *)
CROSSREFS
Sequence in context: A049421 A260314 A238269 * A083166 A185292 A022599
KEYWORD
base,nonn
EXTENSIONS
More terms from Alexander D. Healy, Jun 22 2001
STATUS
approved