login
Positions of the digit '4' in the decimal expansion of Pi.
24

%I #16 Mar 22 2020 08:03:19

%S 2,19,23,36,57,59,60,70,87,92,104,119,125,126,145,151,157,162,182,183,

%T 188,192,201,202,217,218,223,227,251,254,262,266,271,273,278,293,296,

%U 303,321,339,348,371,376,384,386,392,400,449,453,454,464,480,497,511

%N Positions of the digit '4' in the decimal expansion of Pi.

%H Amiram Eldar, <a href="/A037003/b037003.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PiDigits.html">Pi Digits.</a>

%t Flatten @ Position[ RealDigits[Pi - 3, 10, 500][[1]], 4] (* _Robert G. Wilson v_, Mar 07 2011 *)

%Y Cf. A036974.

%Y Cf. A037000, A037001, A037002, A037004, A037005, A036974, A037006, A037007, A037008.

%K base,nonn

%O 1,1

%A Nicolau C. Saldanha (nicolau(AT)mat.puc-rio.br)