RogerBW's Blog

Gödel-encoding beer orders 30 June 2017

Every few months I go to the Wellington for beer and food (bringing the food with me; they don't have a food licence, but do provide plates and cutlery).

The beer pumps are numbered, which simplifies ordering, but one has to remember "a 5, two 6s, half a 10 and half a 14" all the way from the table to the bar. This is hard work. So here's a much easier system.

Start with a list of the first 30 prime numbers: 2, 3, 5, 7, etc. Assign these to beer orders: a half on pump 1 is 2, a pint on pump 1 is 3, a half on pump 2 is 5, etc. Then multiply the orders together: the order above becomes 29 × 37² × 67 × 103, or 273976601, which is just as easy to remember as a phone number with dialling code (027-397-6601).

The bar staff factor the number, reverse the lookup, and pull the pints; prime-factoring nine-digit numbers is obviously a trivial task in a busy and noisy pub, adding no great effort to the existing job.

I call upon the management of the Wellington to implement this simple scheme as soon as possible.

Tags: real life

Comments on this post are now closed. If you have particular grounds for adding a late comment, comment on a more recent post quoting the URL of this one.

Tags 1920s 1930s 1940s 1950s 1960s 1970s 1980s 1990s 2000s 2010s 3d printing action advent of code aeronautics aikakirja anecdote animation anime army astronomy audio audio tech aviation base commerce battletech beer boardgaming book of the week bookmonth chain of command children chris chronicle church of no redeeming virtues cold war comedy computing contemporary cornish smuggler cosmic encounter coup covid-19 crime cthulhu eternal cycling dead of winter doctor who documentary drama driving drone ecchi economics en garde espionage essen 2015 essen 2016 essen 2017 essen 2018 essen 2019 essen 2022 essen 2023 existential risk falklands war fandom fanfic fantasy feminism film firefly first world war flash point flight simulation food garmin drive gazebo genesys geocaching geodata gin gkp gurps gurps 101 gus harpoon historical history horror hugo 2014 hugo 2015 hugo 2016 hugo 2017 hugo 2018 hugo 2019 hugo 2020 hugo 2022 hugo-nebula reread in brief avoid instrumented life javascript julian simpson julie enfield kickstarter kotlin learn to play leaving earth linux liquor lovecraftiana lua mecha men with beards mpd museum music mystery naval noir non-fiction one for the brow opera parody paul temple perl perl weekly challenge photography podcast politics postscript powers prediction privacy project woolsack pyracantha python quantum rail raku ranting raspberry pi reading reading boardgames social real life restaurant reviews romance rpg a day rpgs ruby rust scala science fiction scythe second world war security shipwreck simutrans smartphone south atlantic war squaddies stationery steampunk stuarts suburbia superheroes suspense television the resistance the weekly challenge thirsty meeples thriller tin soldier torg toys trailers travel type 26 type 31 type 45 vietnam war war wargaming weather wives and sweethearts writing about writing x-wing young adult
Special All book reviews, All film reviews
Produced by aikakirja v0.1