[This article was first published on R – TomazTsql, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.They say that number Pi holds all infinite possibilities, all the words, all the combinations. Well, easier said to be done. So let’s put this to a test.This is my translational table. We will do this in the following steps (for the word “eggs”):Encode the word EGGS to numbers. E = 5, G = 7, G = 7 and S = 19. Together concatenated we get the string of 57719.We store a veeery long string of PI number.Start looking in PI number for substring of “57719”.Well, let’s create a function to do just thatlibrary(Rmpfr)encode_a1z26