Mr. Tono ties a ribbon on k stakes of the seedbed for every seed he sows: one stake without a ribbon means surely not, all ribboned means maybe; false…
Why it matters
Databases (RocksDB, Cassandra) use Bloom filters so they never open a file for a key that is surely absent; browsers and CDNs use them for big URL lists. Knowing when "maybe" can be wrong, how often, and why it cannot delete lets you choose m and k right.
The key idea
"No" is certain, "maybe" is a chance
Common mistakes
Removing one item makes an unrelated item "disappear" too The cleared slots are shared with items still there. Use a counting Bloom filter when you need deletes, or rebuild the filter from the source.
The filter says "maybe" but the item was never added That is a false positive, not a bug. "Maybe" must be checked against the real source; only "surely not" is absolute.
The false-positive rate stays high though a Bloom filter is in place m and k were picked at random. Work them out from n and the target rate p: m = −n·ln(p)/(ln 2)², k = (m/n)·ln 2.
Try it in this playground
Ask for a sown seed Always maybe: all its stakes have ribbons.
Get a "surely not" One stake without a ribbon is enough.
Find a false positive A seed never sown yet answered maybe.
Change m or k Watch the formula’s rate and the real count move.