In the 1990s,
"Torah Codes" were a craze. The theory is that one could find hidden codes in the text of the Torah by skipping "n" letters.
Three mathematicians wrote a paper in the journal Statistical Science that found that patterns that matched rabbis names were encoded in the same "spaces" as their birth and death dates, thousands of years before they were born.
One theory was that the minimum skip distance of a word is significant. So I wrote a program many years ago (in BASIC) to look through Genesis and try to find the minimum skip distances of the names of the patriarchs, not counting their names themselves (a skip distance of zero), to see where they would come out. Would they appear in the parts of Genesis that they were actual characters?
My program was slow and at the time finding even five letter words took a long time. Three letter words were all over the place with a skip distance of 1 so "Leah" and "Rachel" were sort of useless, let alone two letter names like "Noah."
But one of the best ones I found was Yaakov - Jacob - in this week's parasha.
Genesis 50:6:
וַיֹּ֖אמֶר פַּרְעֹ֑ה עֲלֵ֛ה וּקְבֹ֥ר אֶת־אָבִ֖יךָ כַּאֲשֶׁ֥ר הִשְׁבִּיעֶֽךָ׃
And Pharaoh said, “Go up and bury your father, as he made you promise on oath.”
The smallest skip distance I could find for Yaakov in Genesis was 5, and it occurred in a verse that was about Yaakov but didn't mention his name!
The statistical paper was
mostly debunked but I always felt it was useful. The idea that all the world's knowledge is contained in the Torah always had sounded nonsensical to me - how could all knowledge be in a finite text? The codes show that an infinite amount of information can indeed theoretically be encoded in a finite text. There is no reason to use equidistant skip distances - why not use digits of pi, or pairs or triplets of them, for skip distances? There is literally no end to what could be done with that method.
I'm not saying that the codes have validity. But they point to a way that information could be encoded, and that by itself is an interesting idea.