All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
The Flooble Code (Posted on 2003-03-18) Difficulty: 4 of 5
A book titled The Bible Code introduced the topic of equidistant letter sequences (ELS), described below, for finding words “hidden” in text. That book referenced the Hebrew Bible, but prompts a question about finding any given word in any, say, English-language text.

For simplicity, and to better match the Hebrew, spaces and punctuation are removed. A particular text that I have in mind, thus crunched, has 284,939 characters remaining (letters and digits). How many times would you expect to find the word FLOOBLE as an equidistant letter sequence in the text? Ignore case. The word can start at any of the 284,939 characters and proceed by skipping any constant number of letters forward or backward. So, for example, if the 11,000th character were an F and the 10,000th an L, and the 9,000th an O, etc. that would be one occurrence. Of course we don’t expect always to find such decimally round spacings. The question again, How many do we expect to find?

The absolute and relative frequencies of the relevant letters in the text are:

B  4771 0.016744
E 36232 0.127157
F  7167 0.025153
L  9563 0.033562
O 22486 0.078915
that is, for each letter is shown the number of occurrences in the text and that number divided by the total of characters in the text.

See The Solution Submitted by Charlie    
Rating: 3.5000 (6 votes)

Comments: ( You must be logged in to post comments.)
  Subject Author Date
re(4): incorrect solution?Charlie2003-03-26 14:00:29
re(3): incorrect solution?Charlie2003-03-26 13:59:28
re(2): incorrect solution?Cheradenine2003-03-25 22:55:01
re: to CheradenineCharlie2003-03-25 15:33:51
to CheradenineCory Taylor2003-03-25 10:45:44
my errorCory Taylor2003-03-25 10:36:37
re: incorrect solution?Charlie2003-03-25 10:24:42
incorrect solution?Cheradenine2003-03-25 09:19:22
Hints/Tipsre: remaining solutionCharlie2003-03-21 03:36:56
remaining solutionCory Taylor2003-03-20 09:33:49
partial solutionCory Taylor2003-03-20 09:21:46
No SubjectCory Taylor2003-03-20 09:04:52
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2020 by Animus Pactum Consulting. All rights reserved. Privacy Information