editing
approved
editing
approved
Position counted from and after decimal point. - Harvey P. Dale, Mar 13 2023
SequencePosition[RealDigits[Pi, 10, 33000][[1]], {7, 7, 7}][[;; , 1]]-1 (* Harvey P. Dale, Mar 13 2023 *)
approved
editing
proposed
approved
editing
proposed
Starting positions of strings of 3 three 7's in the decimal expansion of Pi.
q=9!; z=7; a=RealDigits[Pi, 10, q]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; If[b==z&&c==z&&d==z, AppendTo[lst, n-1]], {n, q-2}]; lst [From _(* _Vladimir Joseph Stephan Orlovsky_, Jun 19 2009] *)
approved
editing
editing
approved
Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PiDigits.html">Link to a section of The World of MathematicsPi Digits.</a>
approved
editing
q=9!; z=7; a=RealDigits[Pi, 10, q]; lst={}; Do[b=a[[1]][[n]]; c=a[[1]][[n+1]]; d=a[[1]][[n+2]]; If[b==z&&c==z&&d==z, AppendTo[lst, n-1]], {n, q-2}]; lst [From _Vladimir Joseph Stephan Orlovsky (4vladimir(AT)gmail.com), _, Jun 19 2009]
_Rick L. Shepherd (rshepherd2(AT)hotmail.com), _, May 04 2003
<a href="/Sindx_index/Ph.html#Pi314">Index entries for sequences related to the number Pi</a>