%I #17 May 31 2021 10:08:54
%S 7,17,22,29,34,54,64,74,77,84,90,94,103,113,115,136,137,141,150,161,
%T 166,174,186,187,204,222,230,242,245,261,276,281,290,293,299,303,327,
%U 330,334,336,338,355,375,381,407
%N Positions of 2's in the decimal expansion of Pi.
%H Vincenzo Librandi, <a href="/A053746/b053746.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) = A037001(n) + 1. - _Georg Fischer_, May 31 2021
%t Flatten[Position[RealDigits[Pi, 10, 1000][[1]], 2]] (* _Vincenzo Librandi_, Oct 07 2013 *)
%Y Cf. A037001.
%K nonn,base
%O 1,1
%A _Simon Plouffe_, Feb 20 2000
%E Changed offset from 0 to 1 by _Vincenzo Librandi_, Oct 07 2013
|