I know there are plenty of places out there where a person can track down digit sequences within a sequence, BUT what I am looking to do and cannot seem to track down is track down sequences with some known and some unknown digits. eg.
In the sequence what are the unknown digits in the number sequence 111?222?333 - the list will obviously be quite extensive depending on the number lengths given. Any help will be hugely appreciated.
OK now please for the programming idiot in the room, where in windows do I copy paste that to get it to work? and how do I get it to work, I am below novice level.
Apparently the chance of finding a given 11 digit pattern in first 100 million digits is just under 10%.
I found my Birthday with a 2 digit year at offset 327948, but not by Birthday with a 4 digit year.
Andy
1 2 3 4 5 6 7 8 9 10 11
Chances of Finding Your Number in Pi
Why can/can't I find my number in Pi? If we view Pi as a big, random string of numbers (which is close enough for our purposes), then we can figure out the odds of finding any string in the first 100 million digits of Pi:
Number Length Chance of Finding
1-5 100%
6 Nearly 100%
7 99.995%
8 63%
9 9.5%
10 0.995%%
11 0.09995%
Thanks for the help so far, I downloaded the visualstudio then:
1.File> add new project
2. Add > New item > C++ File(.cpp)
3. Pasted your code and pressed green arrow -
results - window pops up saying "this project is out of date"
would you like yo build it? > yes
black window pops up saying "enter a search string"> I enterec a few numbers and nothing happened?
this message appeared
'TRY2.exe': Loaded 'C:\Users\Michael\Documents\Visual Studio 2010\Projects\TRY2\Debug\TRY2.exe', Symbols loaded.
'TRY2.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'TRY2.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'TRY2.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'TRY2.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Cannot find or open the PDB file
'TRY2.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Cannot find or open the PDB file
Anyone know what I am doing wrong?
I am also looking for not only the first instance that the searched digits appear, but also the instances they might occur later in pi.
Ok so i download a pi calculator and saved digits of pi as a txt. document, and now how do I link it to that file? or place it in the program directory? once again thanks