Well, I want to find the first position where the digits of Pi are {a,b,c,...,z}
. So to find the first n digits of Pi and put them in listform I used:
IntegerDigits[Last[FoldList[FromDigits[{##}]&]@First@RealDigits@FractionalPart@N[Pi,n]]]
Now, I am stuck. How do find the positions where {a,b,c,...,z}
occurs?
So as an example, when does {7,9,3}
do appear for the first time in the digits of Pi? I know that it is at the 13th digit of Pi (checked by hand).