OFFSET
1,1
COMMENTS
The "position" is the number of digits to the right of the decimal point. - Harvey P. Dale, Jan 02 2019
LINKS
Eric Weisstein's World of Mathematics, Pi Digits
MAPLE
Pidigs:= convert(evalf[40000](Pi), string):
StringTools[SearchAll]("111", Pidigs[3..-1]); # Robert Israel, Jan 09 2015
MATHEMATICA
a=RealDigits[Pi, 10, 9! ]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; If[b==1&&c==1&&d==1, AppendTo[lst, n-1]], {n, 9!-2}]; lst (* Vladimir Joseph Stephan Orlovsky, Jun 02 2009 *)
SequencePosition[RealDigits[Pi, 10, 33000][[1]], {1, 1, 1}][[All, 1]]-1 (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 02 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved