Live data from Hacker News

Alan Turing using math to repair his bike

mathmutation.blogspot.com

61–69 of 69 posts

Re: Alan Turing using math to repair his bike

#61
post #9
post #6

Kind of reminded me of the traditional wisdom that you should select chains and sprocket to avoid patterned wear. I don't know if there is an effect (especially with bikes and their low torque),but I always think about it when changing my chain. I suppose this only applies to single sprocket bike.

This is called "hunting tooth". It applies to any system of gears or timing belts. In gears, if you make sure the number of teeth of mating gears is coprime then you wear the teeth of one gear evenly against the other gear. If there are low factors, then each tooth of one gear only engages with a small number of teeth on the other gear, exacerbating wear. With belts, if the number of teeth on the belt shares low fact…

You've just made me realise that several of the more popular freewheel / sprocket combinations are in fact prime: 11, 13, 17, 23.

Usually contrasted against the decidedly non-prime 52 (2 * 2 * 13) and 42 (2 * 3 * 7) chainrings. 38 if you're old-school triple (2 * 2 * 7).

My chain lengths would vary and I never counted them specifically, though I'd typically remove a few links for fit.

Re: Alan Turing using math to repair his bike

#63
post #11

Earlier quoted context omitted.

I wonder which part of this (admittedly odd fashion statement) seemed surprising to you? Gas masks were of course ubiquitous during the war, so this was probably only about as eccentric as wearing an N95 mask would seem now. And the alarm clock seems like a fairly practical if whimsical hack in an age when chronometers would have been mechanical, and therefore quite expensive.

I feel like the average person absolutely was not wearing a gas mask at all times. Having myself used an N95 in my neverending war on pollen I totally understand though.

No, of course people didn't routinely wear them. But every citizen was issued one. Children took them to school every day, and were drilled in their use.

It's still an eccentric thing to do, of course. But, like the alarm clock tied around his waist, it was an instance of solving a problem by grabbing something close to hand.

Re: Alan Turing using math to repair his bike

#64

That's a charming story. It reminds me of skid-patch calculations on fixed gear bikes. If you have ride a brakeless track bike and "stop" or slowdown the bike by skidding, there's certain gear ratios that you'll want to avoid. Basically, in skidding, you unweight the rear wheel by moving your body forward and lock the position of your cranks. The rear wheel will then skid and you can end up with a flat spot of wear o…

Even if you don't do skiddy tricks (but do a lot of miles) knowing the arithmetic leads into all sorts of interesting thinking about prime numbers - and, indeed, figuring out optimum gears ratios for (personal perference for) particular gear inches. Added to which, to minimise chain wear how big can we go at the front without hitting the chainstays/still making kerb jumps plus we want the number of links in the chain to be relatively prime as well.

Agreed re brakes, on a bike having a decent front brake is all that matters (irrespective of age)- if stopping quickly, the back wheel is generally waving about in the air anyway so whether its leg-braked or other makes no difference (except fixed riders will still be pedalling, force of habit and all that).

Re: Alan Turing using math to repair his bike

#65

This anecdote is memorably presented as an application of modular arithmetic (along with the behavior of Enigma machine rotors) in Neal Stephenson’s Cryptonomicon . See the discussion in this review of the book: https://www.ams.org/notices/199911/rev-kasman.pdf

Your mention of modular arithmetic makes me draw a connection between this story and the way I think about ceiling fan pull chains. Suppose the fan is clearly starting on high and you want to turn it off, but you don't know if the order of settings is "high-low-off", or "high-medium-low-off" (three states or four). It's often difficult to tell if the fan is coasting off or just spinning down to low. If you get it wro…

I just smash my hand in the blades after each pull of the chain and eyeball the acceleration when it starts moving again. Who’s with me?!

Re: Alan Turing using math to repair his bike

#66

This anecdote is memorably presented as an application of modular arithmetic (along with the behavior of Enigma machine rotors) in Neal Stephenson’s Cryptonomicon . See the discussion in this review of the book: https://www.ams.org/notices/199911/rev-kasman.pdf

I had just assumed that this was Neal working more necessary maths into the book with an amusing anecdote attributed to Turing.

Given that this blog post is from this year, I’m going to continue to assume as much.

Re: Alan Turing using math to repair his bike

#67
post #45

Interestingly the bike repair bible that most of the experts defer to, i.e. https://www.sheldonbrown.com/ is written by a man who claims he was strongly influenced by the writings of Bertrand Russell, and he is married to a mathematician and has two children who are both mathematicians. The webpage contains several simple maths formulas for calculating things such as gear ratios.

(The web page hasn't been updated much for a while because Sheldon died several years ago.)

This was the website that made me fall in love with the World Wide Web and the “old Internet”. In the mid to late nineties, I was big into biking and liked to do my own bike maintenance. I came across Sheldon’s wonderful site (probably via Alta Vista) some time after a friend brought me to an Internet café and introduced me to the web. I still have a folder with all the pages I printed out so I could read it at home.

RIP: https://sheldonbrown.com/blog/2022/02/03/its-been-14-years-n...

Re: Alan Turing using math to repair his bike

#68
post #33

Earlier quoted context omitted.

It applies to any bike. Ideally the number of links in the chain would be coprime to the number of teeth on every sprocket. The easiest way to achieve this is to make the number of links in the chain prime. It'll still work just fine if you ignore this idea, but it might wear out more quickly. If you're a hobbyist just trying to make something work, you can safely ignore it and do whatever is most convenient. If you'…

> It applies to any bike On a bike with derailleur gears, every time you change gears the derailleur will add some slippage so you won't get this effect. > The easiest way to achieve this is to make the number of links in the chain prime The chainring is fixed, but you might need to add or remove a link in the chain. In practice it seems more common to make the chainring have a prime number of teeth (53 or 47).

Good point about the derailleur, I hadn't thought of that!

Re: Alan Turing using math to repair his bike

#69
post #39

Earlier quoted context omitted.

It applies to any bike. Ideally the number of links in the chain would be coprime to the number of teeth on every sprocket. The easiest way to achieve this is to make the number of links in the chain prime. It'll still work just fine if you ignore this idea, but it might wear out more quickly. If you're a hobbyist just trying to make something work, you can safely ignore it and do whatever is most convenient. If you'…

> then there's no downside to making the number of links prime if you can arrange it. Bike chains always have to have an even number of links because they come in inner and outer pairs. But this has an effect on chainrings as well. When the tooth on a chainring or sprocket is in between two inner plates it's in a narrow gap. When the tooth is in between outer plates that's a wide gap. If you have a chainring with an…

> Bike chains always have to have an even number of links

D'oh! Of course, you're right.

Post reply on HN