login
Positions of 5's in the decimal expansion of Pi.
3

%I #19 May 31 2021 10:09:06

%S 5,9,11,32,49,52,62,91,110,131,132,134,142,144,159,173,178,179,180,

%T 192,211,214,226,241,253,257,273,305,316,317,326,339,346,356,368,371,

%U 380,390,395,405,412,414,416,420

%N Positions of 5's in the decimal expansion of Pi.

%H Vincenzo Librandi, <a href="/A053749/b053749.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Ph#Pi314">Index entries for sequences related to the number Pi</a>

%F a(n) = A037004(n) + 1. - _Georg Fischer_, May 31 2021

%t Flatten[Position[RealDigits[Pi, 10, 1000][[1]], 5]] (* _Vincenzo Librandi_, Oct 07 2013 *)

%Y Cf. A037004.

%K nonn,base

%O 1,1

%A _Simon Plouffe_, Feb 20 2000