Archive for Saint-Malo

Argentan half-marathon [1:26’24”, 21/273, 1/17 M5M, 17⁰, 112m⁺]

Posted in pictures, Running, Travel with tags , , , , , , , , , , , , , on October 18, 2024 by xi'an

A rather satisfying race, if far from my best times, despite usual headwinds, where I set my own pace early enough, despite a fast start (19’36” at 5k!), and played ‘hare’ for a female runner from Granville—the harbour town in the Manche peninsula facing Mont Saint Michel and the Channel Islands, and mirroring the Breton Sant Maloù, hometown of my grand-mother—for essentially the entire race. (First M3F, second from left above.) I may have lost (again) some seconds in the forested part, but otherwise I kept to my intended pace and managed to keep away from the second M5M by two minutes, as well as the first M4M (next to me on the podium) by six. (No pictures from Normandie Course à Pied this year!)

At Guen Beach [jatp]

Posted in pictures, Running, Travel with tags , , , , , , , , , , on May 11, 2021 by xi'an

Kempner Fi

Posted in Books, Kids, R, Statistics with tags , , , , , , , on January 19, 2021 by xi'an

A short code-golf challenge led me to learn about the Kempner series, which is the series made of the inverted integers, excluding all those containing the digit 9. Most surprisingly this exclusion is enough to see the series converging (close to 23). The explanation for this convergence is that, citing Wikipedia,

“The number of n-digit positive integers that have no digit equal to ‘9’ is 8 × 9n−1“

and since the inverses of these n-digit positive integers are less than 101−n the series is bounded by 80. In simpler terms, it converges because the fraction of remaining terms in the series is geometrically decreasing as (9/10)1−n. Unsurprisingly (?) the series is also atrociously slow to converge (for instance the first million terms sum up to 11) and there exist recurrence representations that speed up its computation.  Here is the code-golf version

n=scan()+2
while(n<-n-1){
F=F+1/T
while(grepl(9,T<-T+1))0}
F

that led me to learn about the R function grepl. (The explanation for the pun in the title is that Semper Fidelis is the motto of the corsair City of Saint-Malo or Sant-Maloù, Brittany.)