OU blog

Personal Blogs

Richard Walker

Are Ants Self-Aware? The Mirror Test

Visible to anyone in the world

Are Ants self-aware?

This morning I watched a video from YouTuber Anton Petrov ('Why Did Consciousness Evolve?'). This was primarily about birds but at one point he mentioned there was research suggesting that even ants might be self-aware. 

I found this idea quite startling, so I did some reading and eventually managed to track down a couple of relevant references [1][2]. There is indeed some research, although the findings are far from conclusive and it isn't really clear what if anything the study demonstrates. But it is certainly a very intriguing possibility. The research used the 'mirror test', a well known approach you may have heard of.[3]

The test is design to see if an animal, when looking in a mirror, is somehow aware that what they see is 'them'. Thus of course does not imply consciousness but it does point to some kind og bodily self-awareness.

The usual approach is to put a small coloured marker on the animal's head, in a position that means the animal can't see it directly but will be able to when looking in a mirror. The the animal is then placed in a space where there is a mirror and the experimenter watches for sign the animal has seen itself in the mirror, noticed the marker, and responded, by grooming itself or seeming to be trying to remove the marker. If so, it is argued that it must have recognised that what it saw in the mirror was itself.

Naturally the various factors in the experiment must be systematically varied. Some animals are marked but not put with mirror, some are put with mirrors but not marked, some neither of those, some marked but with markers that are indistinguishable from the animal's natural colouration, and so on.

This experiment has a long and interesting history and been done with many kinds of animal[4]. It seems generally accepted a demonstrating self awareness of some sort in a very wide range of animals.

But the study on ants has been controversial, because of factors such as sample size and poor controls. Controls are inevitably a problem with this sort of experimental setup. For example how can you make it double-blind? And then the observer may be biassed in favour of a positive result, but what counts as positive is just a matter of interpretation. And perhaps mirrors and stickers do not alone change ant behaviour but the combination does, but not because the ant recognises itself, but for some other reason. 

So although this is a very intriguing study I think we should be cautious about jumping to conclusions. But it is part of a larger body of work which I think makes it clear that, in the past, we often have massively underestimated the cognitive abilities of many of our fellow creatures.

[1] https://royalsocietypublishing.org/rstb/article/380/1939/rstb.2024.0302/235190/The-exploration-of-consciousness-in-insectsThe

[2] https://difusion.ulb.ac.be/vufind/Record/ULB-DIPOT:oai:dipot.ulb.ac.be:2013/219269/Holdings

[3] https://en.wikipedia.org/wiki/Mirror_test

Permalink
Share post
Richard Walker

These Nested Quotes Might Blow Your Mind!

Visible to anyone in the world
Edited by Richard Walker, Sunday 18 January 2026 at 22:53

In the words of the prophet Isaiah: ’ To the captives, ”Come out,” and to those in darkness, ”Be free”. ’ 

This is from a speech made by George Bush in 2003 and it's notable because of the nested quotes. Bush was quoting Isiah and the latter was quoting what I assume to be the words of God.

Bush's words were quoted in a Guardian article by George Monbiot and perhaps you can see where this is heading. 

Another writer 'Mr Smallweed' (actually Davis McKie) picked up on this and recognised its potential. He wrote a humorous piece in which he quoted himself explaining to Mrs Smallweed what what George Monbiot had written.

So at this point Smallweed is quoting himself quoting what Monbiot had written, in which he quoted Bush who had quoted Isiah who had quoted the words of God. The paragraph ends with a flurry of punctuation 

” ’ ” ’ ”

I hope you are keeping up, but we are not finished yet. It seems Mrs Smallweed met a friend, and Mr Smallweed quotes what she said to her friend, quoting what Mr Smallweed had told her earler.  So now

Mr Smallweed is quoting Mrs Smallweed quoting him quoting Monbiot quoting Bush quoting Isiah quoting God

and the triumphant end to the piece is 

“To the captives, ‘come out’, and to those in darkness, ‘be free’. ” ’ ” ’ ”

 

You can read the full story in this Guardian piece by David Marsh.

Permalink
Share post
Richard Walker

What Links: A Farm, A Throne, The Firmament, and a King of Ancient Persia?

Visible to anyone in the world
Edited by Richard Walker, Saturday 17 January 2026 at 00:56

The first three words have reached us via Old French and trace back ultimately to a  Proto-Indo-European (PIE) root *dher-, "support firmly". 

Farm comes from Old French ferme. This originally meant a rent but came to mean the land being rented and then just the land. It comes from Medieval Latin firma, a fixed payment, which derives from Latin firmus, "stable, fixed", and ultimately from the root *dher-.

Throne is from Old French, trone, and this comes from Latin thronus, from Greek thronos, "throne", and this is thought to also be from *dher-.

Firmament is from Old French firmament, from Latin firmamentum, "firmament", again from firmus but with a sense of a strong support, and thence to the sense of the roof of the heavens

this brave o'er hanging firmament, this majestical roof, fretted with golden fire

as Hamlet calls it.

I stumbled across all this because I heard about someone named Darius, which I remembered was the name of more than one king of Ancient Persia, and I wondered what it meant. In Old Persian it was Darayavaus, with the first element once more from *dher- and the second meaning something like the "the good".

I looked the name Darius up and found the PIE root and then looked that up on https://www.etymonline.com/ and that's where I read about these really surprising  connections. It had never occurred to me that throne and farm might be related.

Permalink
Share post
Richard Walker

Five Bridges and a Storm — A Perplexing Probability Puzzle

Visible to anyone in the world
Edited by Richard Walker, Thursday 15 January 2026 at 23:18

Here's a probability question I found in the marvellous problem collection Cut the Knot. 

In Figure 1 (a) we see two islands in a river and five bridges joining the islands to each bank and to one another.

Unfortunately a recent storm has caused damaged and each bridge has a 0.5 probability of having been swept away. What is the probability that a traveller can still cross the river?

This was harder than I was expecting and I found it quite confusing to think about. It did remind me though of a celebrated problem, the seven bridges of Königsberg, which prompted to dispense with some of the details and draw Fig. 1 (b), which captures the structure, and then after a bit of head-scratch I reasoned as follows. 

Each bridge is either intact or has been swept away, with an equal 0.5 probability of each. So there are 2x2x2x2x2 = 32 equally likely possibilities, not too many. So I could systematically enumerate the ones that allowed a crossing, which I did, and then just count them and divide by 32. Here they are (Figure 2), where the thick lines represent bridges that have survived the storm. I hope I have included them all!

So the probability is 16 divided by 32 equals 0.5 . I looked up the answer and sure enough 0.5 is the probability. But the problem setter had a much cleverer way of finding the answer!

Suppose a steamboat is coming along the river.

The dotted lines show the possible channels the boat might follow, if the corresponding bridge is has been swept away. Moreover if we draw a diagram of these channels and their interconnection it turns to be structurally identical to Figure 1 (b), and the boat will be able to pass along each channel with probability 0.5, because if the probability a bridge is intact is 0.5, the probability it has been swept away is also 0.5.

So probability(boat can pass along the river) = probability(a traveller can cross over the river)

And now for the masterstroke! If the boat can pass there must be an unbroken path along the river and the traveller is cut off. If the traveller can cross there must be an unbroken path across the river and the boat is cut off. So the two probabilities above must add up to 1 and hence both are 0.5.

This is a very pretty solution. It seems to have originated in a book Bas [1], as an example where arguing from symmetry gives a correct probability, which in some cases it may not.

And never forget the old malaprop: Don't burn your bridges before they're hatched.

[1] Bas C. van Fraassen, Laws and Symmetry, Oxford University Press, 1989

Permalink
Share post
Richard Walker

"Two's company, three's a crowd." But what about six?

Visible to anyone in the world
Edited by Richard Walker, Sunday 11 January 2026 at 22:42

If you Google "Six people at a party" you will get over a billion hits.

Many will be about a well-known puzzle that asks us to show that, if there at least 6 people at a party, there must among them either be 3 all of whom are mutually acquainted or else  3 who are mutually unacquainted.

This is a special case of Ramsey's theorem, named after the Cambridge mathematician Frank Plumpton Ramsey, who in 1928 published a seminal paper, On A Problem Of Formal Logic. This was a very general result from which it can be deduced that, if a structure is big enough, then if you parcel its components out into groups there will always be groups containing large ordered substructures.

However his theorem had nothing to say about what was "enough", and this combined with the fact that many particular cases are of great interest and often quite simple to state, has stimulated a huge body of mathematical research in Ramsey Theory, and also generated much interest amongst fans of recreational mathematics. Strikingly, after almost a century of investigation we only know exactly what is "enough" for some fairly small cases, and outside those we often have only some lower and upper limits, which in some cases are absurdly far apart.

Back to our party problem. This is one of the cases where we know the exact number, 6. The problem is easier to analyse if we step away from the party scenario and frame the question in a more abstract way.

Show that if we have 6 points and we connect every pair of points by an edge coloured either red or blue, then in the resulting diagram we will always be able to find at least one triangle all of whose edges are the same colour, either red or blue (we call these "monochromatic" triangles).

I hope you can see that this is essentially the same problem. To cast it in the language I used to outline Ramsey's theorem,

  • "big enough" is 6
  • the components being assigning to groups are the edges
  • the groups are red and blue
  • and the ordered substructures are monochromatic triangles.

There is a standard proof of this which is not too difficult and very nicely described in the Wikipedia article on Ramsey Theory (see R(3, 3) = 6, under "Examples"). However there is an alternative proof, due to Goodman[1], which shows amongst other things that with 6 points there are in fact at least not one but two monochromatic triangles, and gave a formula for the minimum possible number of monochromatic triangles if there are more than 6 points.

His proof uses a counting argument. Imagine we have coloured each the 15 edges amongst the 6 points either red or blue. We count the number of monochromatic paths of length 2 formed by two edges of the same colour meeting at a point, like those below, and we do so using two different methods.

Method 1 is to count by triangles. Amongst 6 points we can form 6 choose 3 = 20 triangles. A "bicoloured" triangle with side of both colours will only contribute 1 monochromatic path to the count, but a monochromatic will contribute 3. This gives a count of

no. of bicoloured triangles + no. of monochromatic triangles x 3

= total no. of triangles of both kinds + no. of monochromatic triangles x 2

and remembering that there are 20 triangles in all this gives

no. of monochromatic paths of length 2 = 20 + 2 x no. of monochromatic triangles

Method 2 is to count the paths by considering the edges that meet at each point. There are 5 at each point and there are three cases to consider

  • All 5 edges the same colour. This will contribute 5 choose 2 = 10 to the count of monochromatic paths.
  • 4 edges the same colour and the other edge different. This will contribute 4 choose 2 = 6 to the count of monochromatic paths.
  • 3 edges of one colour and 2 of the other colour. This will contribute 3 choose 2 = 3 plus 2 chose 2 = 1, a total of 4 to the count of monochromatic paths.

Examining the possible contributions of 10, 6 and 4 we see the minimum possible is 4, and since there are 6 points we have

no. of monochromatic paths of length 2 ≄ 6 x 4 = 24.

Finally combining this with the result form Method 1 we find

20 + 2 x no. of monochromatic triangles ≄ 24

2 x no. of monochromatic triangles ≄ 24 - 20 = 4

no. of monochromatic triangles ≄ 2

which establishes the claim that there will be at least 2 monochromatic triangles.

It's conceivable of course that the minimum number of monochromatic triangles is in fact greater than 2. Can you draw a diagram to show this is not the case and that a configuration with only two monochromatic triangles is actually possible? Solution in comments.

[1] AW Goodman (1959). On Sets of Acquaintances and Strangers at any Party. The American Mathematical Monthly: Vol. 66, No. 9, pp. 778-783

Picture of F P Ramsey, Wikimedia Commons

Permalink 1 comment (latest comment by Richard Walker, Sunday 11 January 2026 at 22:39)
Share post
Richard Walker

Why currants are called "currants" (you'll never guess!)

Visible to anyone in the world

The word currant was originally applied what we now call raisins, which are dried grapes (compare French raisin). There was a Greek raisin industry in Corinth and raisins imported from there were called in Anglo-French reisin de Corauntz, borrowed into English as raysyn of Curans.

Over time this became shortened to currants. The OED gives this quote for 1620:

The small Raisins of Corinth, which we commonly call Currants. [1]

Later the word currant became used mainly for small fruits from other plants, blackcurrants, redcurrants and so on, while dried grapes, the original "raisins of Cornith", came to be called simply "raisins".

The name of the Greek city Corinth, in Greek Korinthos, is interesting in itself because it is probably borrowed from the non Indo-European language spoken in Greece before the Greeks arrived. It is the cluster nth (ΜΞ) also found in menthe, "mint", and labyrinthos, and plinthos, "brick", that suggest this. So perhaps the currants in your bun preserve a word from a long dead Mediterranean language.

[1] T. Venner, Via Recta vii. 122

Permalink
Share post
Richard Walker

Games & Puzzles Magazine and an Amazing Sentence

Visible to anyone in the world

I used to take a magazine called Games & Puzzles which ran for 1972 until 1981 and it was there (I believe) that I read about an amazing way to construct a sentence in which arbitrarily many verbs appeared consecutively.

I recalled this recently but I'd forgotten the construction and for a while wasn't very successful when I searched online, but I've found it now. It's called center‑embedding and I thought it would be interesting to apply it to the nursery rhyme "This Is The House That Jack Built". So I did that, which was quite tricky, and then asked Copilot if the result was a legitimate sentence. Copilot said it was but commented

This type of structure is famous in linguistics: it’s grammatical in principle, but humans struggle to process more than one or two levels of embedding. Your sentence pushes it to the extreme for rhetorical effect (and fun).
Here is my sentence, with 9 consecutive verbs. Get ready.
 
The rat that the cat that the dog that the cow with the crumpled horn that the maiden all forlorn that man all tattered and torn that the priest all shaven and shorn that the cock that crowed in the morn that the farmer sowing his corn kept woke married kissed milked tossed worried killed ate the malt.
 

On its own initiative Copilot (very helpfully I thought) drew this diagram to clarify the structure.

Permalink
Share post
Richard Walker

2178

Visible to anyone in the world
Edited by Richard Walker, Friday 2 January 2026 at 22:29

On Stack Overflow a Python beginner asked for help in writing a program to find a 4-digit number ABCD such when multiplied by 4 it reverses its digits, that is 4 x ABCD is DCBA. The kindly folks on Stack Overflow duly provided some help and the unique answer is 2178: 4 x 2178 is 8712.

This was new to me; although searching on "2178" threw up ~52,000,000 hits, this puzzle must have passed me by, until now.

Seeing the solution made me wonder if it could be generalised. There is quite a wide field of possible variations, but the first I looked was whether there is a find a 5-digit number that reversed itself when you multiply it by 4.

And there is: it's 21978. That looked familiar somehow and then I searched for a 6-digit counterpart. 219978 was the answer.

You can probably spot the pattern: we are just adding 9s in the middle. Will it work however many of them we insert? Yes it will; here's why.

Imagine we are doing a multiplication, 219.. lots of 9s...978 x 4.

You can see that for each 9 in the middle we shall have carried 3 and we do 4x9 = 36, plus the carry is 39, so we put down 9 and carry 3 again. This will continue as long as the digit being multiplied by 4 is a 9. When reach the 1 we will still have a carry of 3, and we do 4x1 = 4 plus the carry is 7, and then finally 4x2 = 8. So we can have as many 9s as we like sandwiched between 21 an 78 and multiplying by 4 will always reverse the number's digits, which is really cool.

Python deals with very long numbers really well, so just for fun

n = int('21'+'9'*200 + '78')

n

219999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999978

4*n

879999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999912

Permalink
Share post
Richard Walker

KOB NEWO YER

Visible to anyone in the world
Edited by Richard Walker, Thursday 1 January 2026 at 16:27

This is something we can (very!) roughly imagine  a speaker of the reconstructed Indo-European language saying at the start of a new year about six or seven thousand years ago.

kob is probably the ancient root of Old English hap, "good) fortune", and modern happy and happen (and mishap) derived from it. That k should have become h may seem odd but there are a range of words where we know for certain the same consonant shift happened, e.g. Latin centum (the c is hard) corresponds to hundred, canis to hound, cor to heart.

newo is found in closely related form in a whole raft of languages, from Hittite newa, through Sanskrit nava, Persian nau, Ancient Greek neos, Latin novus, German neu, Old Englis niewe. 

So there you have it: Happy New Year!

yer is seen in Ancient Greek oros, Avestan yare, German Jahr, and even related to hour.

So they you have it:

Happy New Year!
Permalink
Share post
Richard Walker

Everyone will understand the solution to this competition question

Visible to anyone in the world
Edited by Richard Walker, Tuesday 30 December 2025 at 23:28

This question was B1 in the December 2025 Putnam competition, which is the top competition for math undergrads at US universities. It's nice because no specialised mathematical knowledge whatsoever is needed to grasp the question and the solution; both just involve simple ideas and the solution needs just a short chain of reasoning.

I'll give the question first and then clarify it a bit.

Suppose that each point in the plane is colored either red or green, subject to the following condition: For every three noncollinear points A,B,C of the same color, the center of the circle 

I'm going to change the colour scheme to red and blue, which will work better for anyone red-green colourblind. Here are a couple of sketches to help me explain. 

The question is asking us to suppose we have found a scheme that assigns to each point in the plane a colour, either red or blue, in a way that meets the conditions illustrated in the sketches above, i.e.

  • If three red points lie on a circle, the centre of that circle will always be red, we will never find three red points on a circle with a blue centre.
  • If three blue points lie on a circle, the centre of that circle will always be blue, we will never find three blue points on a circle with a red centre.

You might say don't any three points lie of a circle, but no, they might all lie on the the same straight line, so we want to rule that out.)

We are asked to prove that these conditions cannot be met unless every point in the plane is the same colour as every other point; every point is red or else every point is blue.

So here is my proof. The idea to imagine trying to colour the points of the plane, always keeping to the conditions bulleted above, using both both red ands blue. We start with two points, one red and one blue, and then try to extend the configuration, still keeping to the rules. We shall find that we must inevitably reach a position for which it is impossible to extend the colouring further without breaking the rules. So no such colouring can exist.

Consider the following diagram, where I have supposed we have two points of opposite colours. It make no difference which is which, so I have made A red and B blue.

From there we can infer colours for points C, D, E, F, G, in alphabetical order, by applying our rules, as follows. To avoid a whole sequence of diagrams each little different from the last I have coloured them in advance but you need to to imagine the colours of the points are not known until we determine each.

  1. First observe that C and D must be different colours; for if both were red C, A and D would be three red points on a circle whos centre B is blue. If both were blue C, B and D would be three blue points on a circle whose centre A is red. Which of C and D is red which blue makes no material difference so we can make C red and D blue as shown.
  2. Now the circle through C, B, D whose centre A is red has two blue points B and D on it already and another blue point on that circle would break our rules. This forces E and F to be red as shown.
  3.  Next the circle through C, A, D whose centre B is blue has two red points A and C on it already and another red point on that circle would break our rules. This forces G to be blue as shown.

Now consider the point H which lies on the intersection of a small circle whose centre C is red and a larger circle whose centre B is blue. What colour should H be? Well the small circle with a red centre already has two blue points on it, so a third blue point is ruled out. On the other hand the larger circle with a blue centre already has two red points on it, so a third red point is ruled out. So H cannot be blue and it cannot be red either and it is impossible to colour it in a way consistent with our rules.

So we have found that if any two points are different colours it is impossible to extend that colouring to the whole plane and this the only colouring that meets the conditions is if every point is coloured red or every point is coloured blue.

Permalink
Share post
Richard Walker

Musical time values—where did they get their names?

Visible to anyone in the world
Edited by Richard Walker, Sunday 28 December 2025 at 18:22

The longest musical note you're likely to meet nowadays is the breve.

In medieval music this was classed as a short note, hence its name, from Latin brevis, "short"; basically the same word as brief. The Latin word is probably, by a regular process of consonant change, derived from a PIE root *mrĂ©Ç”Ê°us, also meaning short; and surprisingly this may also be the origin of merry. Perhaps the association between something pleasant and something short is the same idea as that expressed by the well-known line

They are not long, the days of wine and roses [1]

In modern music the breve is pretty rare, appearing only occasionally; for example in Brahms's A German Requiem. The longest note in common use is the semibreve, whose meaning is self-explanatory.

Next we have the minim, one half of a semibreve, and called a mimin because it was the minimum, the shortest note. Minimum is from Latin minimus, smallest, thought to be from PIE *mei, "small".

Of course the minim is not the shortest by a long chalk Half a minim is a crochet

The name is taken, presumably in reference to its shape, from a French word crochet, "hook", the origin also of the words crocheting, from the hook used in that craft, and crochety, "irritable, cranky, having eccentric fancies", although I have no idea what the connection is here. 

Half a crochet is a quaver. The only explanation I have found for the word's origin is that a quaver is a short note that might get repeated rapidly, so it would sound quavery (possible related to quake?).

But now it's plain sailing: half a quaver is a semiquaver (semi from Latin for half); half a semiquaver is a demisemiquaver (demi from French for half); half a demisemiquaver is a hemidemisemiquaver (hemi from Greek for half).

And it doesn't have to stop there; we can pile on more of the little "flags", as they are called, and repeat the semi-demi-hemi sequence, so this note, one divided by 1024  of a breve, is hemidemisemihemidemisemiquaver.

of course this is mainly theoretical; the slowest tempo we are likely to meet in reality would make a breve last about 8 seconds, so we'd have to play 128 notes per second to fit them all in, and a frequency that high would become a musical pitch in its own right.

[1] From Vitae Summa Brevis by Ernest Dowson, 1896

Permalink
Share post
Richard Walker

Learning LaTeX and a cool math trick

Visible to anyone in the world
Edited by Richard Walker, Wednesday 24 December 2025 at 11:11

I'm trying to teach myself a bit of LaTeX, which if you don't know is a specialised language that allows a user to enter expressions as plain text and have them rendered as mathematical notation.

For a while I've felt not knowing LaTeX is a gap in my toolkit but the immediate prompt is that I'm writing accessibility guides for a couple of modules and I'm looking how someone who is blind or has low vision can read and write mathematical notation, and LaTeX is one route, especially for anyone planning to go on to study more mathematics. So as an exercise I decided to write a post about a neat mathematical trick I learned recently. 

My Exercise

Suppose we're asked to solve the following quadratic equation by factorisation

x squared minus two times x minus three equals zero

This is not too hard. We just look for a pair of numbers that multiply to give negative three and add to negative two . These are negative three and add to one . So the equation factorises to

left parenthesis x minus three right parenthesis times left parenthesis x plus one right parenthesis equals zero

and the solutions are x equals three and x equals negative one .

But what if the coefficient of x squared is greater than one ? For example we might have

12 times x squared plus 11 times x minus five equals zero

Now we have to consider all the factors of 12 and of negative five and figure out which combination is the correct one and it all gets a bit messy.

Here's a neat trick that makes this equation as easy to solve as the first example. We say 12 times left parenthesis negative five right parenthesis equals negative 60 (first coefficient times last), set the first coefficient to one and form a new equation (but remember that 12 , we will need it later!)

y squared plus 11 times y minus 60 equals zero

This is easy to factorise and we get left parenthesis y plus 15 right parenthesis times left parenthesis y minus four right parenthesis equals zero , so the solutions are y equals negative 15 and y equals four . Of course these are not solutions of the original equation but now we bring that 12 back into play, and divide the two solutions we have just found by it (makes a kind of sense you see, first we multiplied by 12 , now we divide by it).

negative 15 divided by 12 equals negative five divided by four and four divided by 12 equals one divided by three

and, surprise, surprise, these are the solutions to the original equation!

Why does this work?

Multiplying the original equation by 12 will give

12 multiplication 12 times x squared plus 12 multiplication 11 times x minus 12 multiplication five equals zero or left parenthesis 12 times x right parenthesis squared plus 11 times left parenthesis 12 times x right parenthesis minus 60 equals zero .

Now replace 12 times x by y and we get the second equation y squared plus 11 times y minus 60 equals zero and the roots of this must be 12 times those of the original equation.

Permalink
Share post
Richard Walker

Candy Story

Visible to anyone in the world

In the UK we call them sweets, but in the US the same thing is called candy. Most UK speakers of English will recognise candy but are likely to feel it's an Americanism and even perhaps regard it as a relatively modern transatlantic coinage.

However something prompted me to look it up and it seems candy has a long history, has been borrowed from one language to another and across language multiple times, and has remained surprisingly stable for at least four thousand years. Although the OED is a bit reticent, Wiktionary and Etymology Online broadly agree its ancestry is probably as follows. The language groups are Indo-European IE, Semitic S and Dravidian D.

Modern English candy IE

↑

Middle English candy IE

↑

Old French candi IE

↑

Arabic qand S

↑

Persian qand IE

↑

Sanskrit khanda IE

↑

Proto-Dravidian *kantu D

There is some guesswork in the last step, since PD is a reconstructed language anyway, but Tamil, a modern Dravidian language common in India does have a word kantu, "candy", although of course this might be a back borrowing.  But even so candy is a word with a long and distinguished pedigree.

Fun Fact: pedigree is from French pe-de-grue,"crane's foot", because in family trees a branching line of descent looks a bit like crane's foot.

Permalink
Share post
Richard Walker

Ten Random Digits

Visible to anyone in the world
Edited by Richard Walker, Friday 19 December 2025 at 23:58

Suppose we choose 10 digits 0-9 at random, one after another. For example, we might get

3, 0, 5, 2, 1, 5, 3, 1, 9, 2

How many distinct digits appear?  In the example there were 6 –

0, 1, 2, 3, 5, 

– but the answer could be anything from 1 (all the digits are the same), up to 10 (they are different). 

Can we work out the expected number of distinct digits that appear; how many different digits show up on average?

Consider the probability that 0 does not appear. The probability of the first digit not being 0 is nine divided by 10 , because 9 out of 10 digits aren't 0.  The probability that the second digit is not 0 is the same, and so on, up to the tenth digit.

The probability the none of the digits is 0, i.e. 0 does not appear, is therefore nine divided by 10 dot operator nine divided by 10 dot operator ellipsis dot operator nine divided by 10 equals left parenthesis nine divided by 10 right parenthesis super 10 .

What then is the probability that 0 does appear. Well, this is easy. It either appears or it doesn't, and the two probabilities must therefore add up to 1. Hence the probability of 0 being present in our sequence is 

one minus left parenthesis nine divided by 10 multiplication nine divided by 10 multiplication ellipsis multiplication nine divided by 10 right parenthesis equals one minus left parenthesis nine divided by 10 right parenthesis super 10 , or about 0.651.
 

This is equivalent to saying that the expected number of times 0 will come up is 0.651. But there was nothing special about 0, the calculation would be the same for the other digits.

Now imagine we keep a score of what distinct digits appear, counting 1 if a digit appears and 0 if it doesn't. The probability that a digit appears is 0.651, in which case it will contribute 1 to the total. and 1 - 0.651 = 0.349 that it does not turn up and contributes 0. So it will make a net contribute of 0.651 x 1 + 0.349 x 0 = 0.651.

Now here is a piece of utter magic. There is a theorem, "Linearity of Expectation" which says that to get the overall score across all the digits all we need to do is add up the individual scores! This is actually quite surprising but it's true.

So we can just work out 10 x 0.651 = 6.51 and that is the average number of distinct digits we expect to see.

I always like to simulate these answers, in case I have something horribly wrong, so here is a short Python program


digits = [0,1,2,3,4,5,6,7,8,9]
count = 0
trials = 1000000

for i in range(trials):
    count = count + len(set(random.choices(digits, k=10)))

print('mean number of different digits =', round(count/trials, 2))

And here is the output

mean number of different digits = 6.51

But there is more. I started thinking what if we did the same thing in base 16, with 16 digits 0 - 9, A, B, C, D, E, F? Or used the whole alphabet of 26 letters, or went beyond that?  Suppose we used a n-character alphabet?

This smelt like a situation where Euler's famous number e ≈ 2.71828 might crop and when I investigated, there it was, right on cue. The beautiful result is that with an n-character alphabet, for large n the expected number of distinct characters in a run of n random choices approaches 

n dot operator left parenthesis one minus one divided by e right parenthesis
 
For our original case n = 10 ths would give 6.32, so the value of 6.51 that we found is already quite close.

Permalink
Share post
Richard Walker

A Brotherly Etymology

Visible to anyone in the world

pal is a really interesting word. It is recorded from 1770 and derives from a Romany word phal, "brother, comrade", from Sanskrit bhratr, sharing the same PIE root *bhrater- as English brother, Latin frater, and Ancient Greek phrater, "fellow clansman". There are cognates right across the IE family of languages.

Permalink
Share post
Richard Walker

A Cubical Tour

Visible to anyone in the world
Edited by Richard Walker, Saturday 13 December 2025 at 00:12

I got this rather nice problem from Cut the Knot, and it was originally from the Leningrad Maths Olympiad.

Can we visit each of the 8 vertices of a cube exactly once and return to the starting vertex by following a path made up of 8 straight line segments, each connecting a vertex of the cube to another of the cube's vertices?

The answer is yes and below we see one possible solution, with the dotted path meeting the these conditions.

However you will notice that in this tour 3 of the segments coincide with edges of the cube. Is it possible to find such a path where none of the segments coincide with an edge?

Prove that the answer is no, no such path can exist.

Solution in comments.

Permalink 1 comment (latest comment by Richard Walker, Saturday 13 December 2025 at 00:11)
Share post
Richard Walker

Chilver, Culb and Hirple

Visible to anyone in the world
Edited by Richard Walker, Thursday 11 December 2025 at 13:33

Not a  firm of Dickensian solicitors, but three unique rhymes.

List of words claimed not to rhyme with any other English word often include silver, bulb and purple, but these do have rhymes, and although (obscure and possible obsolete) they are in the Oxford English Dictionary.

Silver rhymes with Chilver, a young female lamb.

Bulb rhymes with Culb, the item of alchemistic glassware on the bench to the left in this picture from the Welcome Collection¶. AKA a retort.

Purple rhymes with hirple. a Scot dialect word meaning to walk with a pronounced limp.

I found these words when searching for unique rhymes—pairs of words that rhyme only with each other, and with no other word. So we can say for example that the only word that rhymes with silver is chilver and vice versa (although verifying this with certainty would be challenging—what dictionaries do you consult, what counts as a rhyme, how do you even search in a language where urp cam rhyme with irp and erp and earp (as in Wyatt)?)

¶ Woodcut of alchemist trying to transmute metals, circa 1503. Wellcome L0012391

Permalink
Share post
Richard Walker

Terrible Joke

Visible to anyone in the world

Apple are now selling motor vehicles, starting with something called the "iVan" but critics are sayings it's "terrible".

Permalink
Share post
Richard Walker

English monarch beheaded calculating Swiss (5)

Visible to anyone in the world
Edited by Richard Walker, Saturday 6 December 2025 at 23:08

Not a lurid headline but a crossword clue, and the "calculating Swiss" is EULER, one of my heroes, pictured below in iconic headgear.

A person in a blue shirt and a blue striped shirt    AI-generated content may be incorrect.

Leonhard Euler (1707-1783)

I was gratified to see that Euler has made it across into the realms of General Knowledge. There aren't many mathematicians famous enough for their name to be the answer to a Times Quick Cryptic Crossword clue.

The picture above, a pastel by Handmann painted in 1753, hangs in the Kunstmuseum Basel. This is probably the best known portrait of Euler.

Crossword Clue: "English" = E + "monarch" = RULER which "beheaded" becomes ULER, giving EULER (pro. "Oyler").

Permalink
Share post
Richard Walker

When Is A Door Not A Door? (Revisited)

Visible to anyone in the world
Edited by Richard Walker, Tuesday 2 December 2025 at 22:51

This was one of the first jokes I ever heard, in my infant school days.

When is a door not a door?

When it's ajar!

Yesterday I suddenly wondered, don't know why, where "ajar" comes from and what other things , if any, can be ajar (apart from a  jar obviously).

The OED gives the definition "

Of a door, gate, or window: so as to be slightly or partially open.

It can apply to anything that closes off a space, so long as it's got hinges. The last bit is important, at least historically, because the original form was on char, where char means something like "turn". In Old English it was spelt in variety of ways, e.g. cyrre, chere, and referred at first to time "coming round". The meaning was extended to something physically turning; the OED gives this example from 1510

The dure on chare it stude.¶

So there we have our door. The meaning was then extended further to something like a "turn of work" — compare ways turn is used; take turns, it's your turn, etc. — and changed its spelling to chore, a piece of work that needs to be done. And so ajar and chore are related words, rather surprisingly.

But chare has left a fossil trace in the language, charwoman.

¶ Gavin Douglas, King Hart

Permalink
Share post
Richard Walker

Some Neat Triangle Geometry

Visible to anyone in the world
Edited by Richard Walker, Saturday 29 November 2025 at 23:52

I found this geometry problem at Cut the Knot

Euler Line Cuts Off Equilateral Triangle

sketch%20%281%29.png

You probably need a bit of background. The Euler line is a line that passes through three of the four best-known triangle centres Although these centres were known to the mathematicians of Ancient Greece, this line was only discovered in 1765 by Leonhard Euler. My rough sketches below illustrate the three centres concerned and the Euler line.

sketch%20%283%29.pngOur solution to the problem will use the following facts about the circumcentre and the centroid..

  • The circumcentre is the centre of the unique circle, the circumcircle, that passes through the triangle's vertices.
  • The centroid is the point where the triangle's medians meet. A median is a line joining a vertex of the triangle to the midpoint of the opposite side. The distance from a vertex to the centroid is twice the distance from the centroid to the corresponding midpoint.
  • In an equilateral triangle the circumcentre and the centroid coincide,

Consider the following diagram.

sketch%20%286%29.png

Triangle ACB is our 60° triangle. E is its circumcentre and F its centroid. Triangle ADB is an equilateral triangle inscribed in the circumcircle and on the same base AB. We can inscribe this triangle in the circle because any 60° angle subtended by AB must lie on the same circle. Because this triangle is equilateral the centre E is also its centroid, and GD a median.

Line HEFI passed through E the circumcentre of ACB and F its centroid, so it is the Euler line of ABC.

We note also that AD subtends angles ACD and ABD, so they both equal, and we know ABD is 60° because it is an angle of the equilateral triangle. Hence ACD is 60°.

Now the properties of medians come into play. DG is a median of the equilateral triangle ADB and E its centroid. Because of the properties of medians we have DG = 3EG.

Similarly CD is a median of our 60° triangle ACB and F its centroid and again using the properties of medians CG = 3FG

Now consider segment DC. Because DG = 3EG and CG = 3FG it follows that DC is parallel to the Euler line HEFI. Angles DCH and CHF are so-called "Z angles" on these parallel line, so they are equal, and we know already that DCH = DCA is 60°. So CHF = 60° also. 

Now recall our problem. HEFI is the Euler line and we want to show it cuts off an equilateral triangle. HCI is 60° by assumption, and we have just shown a second angle CHI in the triangle that is cut off is also 60°. But that means all three angles of triangle CHI must be 60° and it is equilateral as claimed.

PS I've not read the solution(s) given on Cut The Know because I wanted to find my own proof but I'm going to take a look now.

Permalink
Share post
Richard Walker

What I'm Reading

Visible to anyone in the world
Edited by Richard Walker, Sunday 7 December 2025 at 11:35

The Language-Lover's Lexipedia, by Joshua Blackburn. I learned of this wonderful book via the podcast and YouTube channel Words Unravelled, and it is an absolute joy.

The breadth and depth of Mr Backburn's research and scholarship are simply stunning, but at the same time he manages to maintain a light and playful tone. To give a flavour of the book here's a potted version of just one of the 200+ entries, from Abracadabra to Zyzzyva.

We've all heard of the Bee's Knees and the Cat's Pyjamas I suppose, and perhaps also the Duck's Quack, although that's less familiar. But until now I never real stopped to wonder where they came from. Turns out they were Flapper slang.

When I think about Flappers I have a hazy vision of the Roaring Twenties and bobbed hair style and the Charleston and all that sort of thing. Merriam-Webster's more informed definition is " a young woman predominantly of the 1910s and 1920s who showed freedom from conventions (as in style of dress and conduct)".

And they also had their own Flapper-Speak which included a craze for phrases consisting of the name of an animal followed by something mildly surprising or incongruous (the Duck' Quack is an outlier here). Mr Blackburn has dug up a whole bunch of examples, forgotten now apart from the three I gave above. Here are some of my favourites:

The Bullfrog's Beard

The Clam's Garters

The Eel's Ankle

The Hen's Eyebrows

The Kipper's Knickers

 And if you fancy a Bee's Knees cocktail Mr Blackburn has found the recipe.

Picture credit: Copilot 27 November 2025

Permalink
Share post
Richard Walker

32,000 Dad Jokes (yes really)

Visible to anyone in the world
Edited by Richard Walker, Friday 21 November 2025 at 23:55

A million thanks to New Scientist magazine (Feedback 22 October 2025) for alerting me to the (serious, I promise) scientific paper by Paul Silvia and Meriel Burnett entitled,

What’s brown and sticky? Peering into the ineluctable comedic mystery of dad humor with a handful of machine learning models, hundreds of humans, and tens of thousands of dad jokes *

As well as the paper, the website hosts a downloadable list of, as promised, 32,000 jokes. The download is Joke Database.zip, just over 50 MB. When expanded it holds two datasets, one with the full 32k jokes (all gathered from Reddit) and the other a subset of 501 jokes the researchers put to a panel of human joke evaluators.

I was able to open the big dataset in Excel ¶ and sure enough it is a treasure house of (slightly over) 32k (mostly) family-friendly dad jokes. Just imagine, a dad joke a day for almost 90 years.

The database contains a lot of data beyond the actual jokes and would be fertile ground for further research or so I imagine. But for now I thought I would come up with a program to print random dad jokes on request.§ Here's a sample run, as you'll see the jokes are of variable quality.

See a random joke? y/n y
A burglar broke into our house last night and stole all of the light bulbs I should be upset, but I'm delighted.
See a random joke? y/n y
I was really mad when they locked me in a room with nothing but the remnants of a dead chicken, but I got out. Good thing I had a bone to pick.
See a random joke? y/n y
What do you call someone who does not like physics A physicist .
See a random joke? y/n y
My Llama roommate yelled at me, "I've had enough of your dad jokes! Leave now!" "Fine," I replied, "Alpaca my bags and leave."
See a random joke? y/n y
Why are almost all (capital) Greek letters old? Because there is only one Greek letter that is new (N/v). &#;
See a random joke? y/n y
The cashier at the grocery store asked "paper or plastic?" I said "paper" thinking she meant "cash or charge." She started bagging my stuff in a paper bag so I yelled: "No! Plastic." Then she screamed at me: "Hey! we don't...take...Credit Cards."
See a random joke? y/n y
what do the eiffel tower and a tick have in common? they are both "parisites" lol
See a random joke? y/n n

*  Published on OSF Oct 29, 2025, 12:27 PM.

¶  Be warned, the spreadsheet has a lot of columns.

§  Python code below:

import csv, random

jokes = []

with open("Reddit_Dad_Jokes_OSF.csv", mode='r', encoding='utf-8') as file:
    reader = csv.reader(file)
    for row in reader:
        jokes.append(row[1])

quit = False
while not quit:
    resp = input("See a random joke? y/n ")
    if resp == "y":
        print(random.choice(jokes))
        print()
    else:
        quit = True
    

 

Permalink
Share post
Richard Walker

Phonesthemes. Do They Really Exist?

Visible to anyone in the world
Edited by Richard Walker, Wednesday 19 November 2025 at 00:27

A phonestheme is when a large number of words that start with the same sound (most typically a consonatn pair) to have related meanings. The phenomenon was first noted by J. R. Firth in 1930. A classic example is fl-, which I remember being fascinated by when first reading about it. Here are some words beginning with this consonant pair fl-. 

flit, flash, flutter, flung, flicker, flee, flip, flap, flare, flurry, fly, flow

What all these have in common is some notion of movement, especially sudden or repetitive movement.

The Wikpedia article gives a number of other examples, such as cl-, e,g. clop, clap, cling, clasp, clutch, all to do with moving an object; and sn-, e.g. snort, snitch, snot, snout, snivel, snitch, sneeze, sniff, sneer, snore, snorkel, all nose-related.

So is there some real effect here, is there something inherently fluttery about fl-? If so, is there some deep psychological connect? Or it it mimetic; does "flutter sound like something fluttering? Or is it somehow to do with how we make a "fl" sound, do we flap our tongue when we pronounce it? (probably not). And then we know from historical evidence that words can influence other similar sounding words, so that could be at work too.

Is there even enough statistical evidence to support the idea that fl- carries a semantic load? Perhaps we are just (as people do) see in a pattern because we always look for them? 

We might be able to provide some evidence by doing some clever statistical analysis, but it's slippery (there's another example of a phonestheme, sl-; slip, sled. slop, slime slither, slobber, sludge). But what criteria do we use to decide of a word belongs in the list? Should slow be counted? What about slag? Slant? Sleet? Slick?

I tried some rough experiments with the help of Copilot. It says

About 8–10% of common English words starting with “fl” relate to repeated or sudden movement.

Is that evidence. Well maybe. We'd have to come up with some list of representative and comparable (how to define what these mean?) semantic fields and see if 8-10% was unusually high.

Another of the examples in the Wikipedia articles is gl-, which is connected with shining or gleaming etc. I discussed this in a previous post A Little "Eggymology" and it is very likely to be a real connection but one that is simple to explain. The words probably all share an etymology and are descended from a PIE root *ghel-, "shining". So no profound mystery. This time Copilot tells me 6-7%. If the proportion for fl- words sharing the same semantic field is higher than that for gl- where (we think) an effect is known to exist what does that tell us? (But I haven't checjed Copilots findings.)

Another example quoted is stand, stable, state, stasis, but from memory this too is a group of words thought to have a common ancestry, a PIE root *sta-, "stand" or something like that.

So is a phonestheme a real thing? It's an intriguing concept, but the jury is still out. There seems to be a school of thought that believes it is just an illusion, but it seems too tat there are also serious scholars and ongoing research in support of there being something real in the idea. Either way I find it fascinating.

Permalink
Share post
Richard Walker

Viral Puzzle Take #3 - A Euclidean Style Proof

Visible to anyone in the world
Edited by Richard Walker, Friday 14 November 2025 at 23:09

In this proof of the puzzle discussed here we drop some perpendiculars, which is often a good start in Euclidean style geometry problems.

sketch.png

Given a square ABCD, if a diagonal be drawn from B to D and another line drawn from A to the midpoint E of CD, so as to intersect the diagonal at F, the triangle formed by the two lines and the base AB of the square is one third of the square.

Proof:

We can take the side of the square to be 1, so its area will be 1. Construct perpendiculars EJ from E to  BD, FH from F to AB, and FI from F to DA. Let the distance from A to H be d.

Then the angles of AIFH are all right angles, so it is a rectangle, and side FI which is opposite to AH must also have length d.

The point F lies on the diagonal BD, which bisects the angle at D, and therefore the perpendicular distances FI and FG are equal, and FG has length d also.

Triangles AJI and AHF are similar, because they share a common angle FAH and both have a corresponding right angle. The distance JI is 1 and the distance AJ is one divided by two .§

Therefore the ratio of EJ to AJ is 2:1 and that of FH to AH the same. The length of AH is d and there FH must be 2d.

Then we have HG = 2d + d = 3d, and HG = 1 so FH = 2d = two divided by three .

The area of the shaded triangle AFB is one divided by two base x height = one divided by two x two divided by three x 1 = one divided by three , as claimed.

§ We should probably prove this, which is easy enough but clutters uo the proof a bit.

Permalink
Share post

This blog might contain posts that are only visible to logged-in users, or where only logged-in users can comment. If you have an account on the system, please log in for full access.

Total visits to this blog: 3651732