British recreational mathematician Lee Sallows has produced many varieties of the self-enumerating pangram — sentences that inventory their own contents:
This pangram contains four As, one B, two Cs, one D, thirty Es, six Fs, five Gs, seven Hs, eleven Is, one J, one K, two Ls, two Ms, eighteen Ns, fifteen Os, two Ps, one Q, five Rs, twenty-seven Ss, eighteen Ts, two Us, seven Vs, eight Ws, two Xs, three Ys, & one Z.
A few years ago he began to wonder whether it’s possible to produce a sentence that reckons its totals as percentages. This is more difficult, because the percentages won’t always work out to be integers. As he worked on the problem he mentioned it to a few others, among them British computer scientist Chris Patuzzo. And a few days ago, Patuzzo sent him this:
This sentence is dedicated to Lee Sallows and to within one decimal place four point five percent of the letters in this sentence are a’s, zero point one percent are b’s, four point three percent are c’s, zero point nine percent are d’s, twenty point one percent are e’s, one point five percent are f’s, zero point four percent are g’s, one point five percent are h’s, six point eight percent are i’s, zero point one percent are j’s, zero point one percent are k’s, one point one percent are l’s, zero point three percent are m’s, twelve point one percent are n’s, eight point one percent are o’s, seven point three percent are p’s, zero point one percent are q’s, nine point nine percent are r’s, five point six percent are s’s, nine point nine percent are t’s, zero point seven percent are u’s, one point four percent are v’s, zero point seven percent are w’s, zero point five percent are x’s, zero point three percent are y’s and one point six percent are z’s.
Details are here. The next challenge is a version where the percentages are accurate to two decimal places — Patuzzo is working on that now.