Anyone interested in this ought to read Martin Gardner's book Annotated Alice https://en.wikipedia.org/wiki/The_Annotated_Alice
Let me add a few links that might be interesting:
Real Life Adventures of an Oxford Don https://www.csmonitor.com/1995/1120/20122.html
In the Shadow of the Dreamchild https://en.wikipedia.org/wiki/In_the_Shadow_of_the_Dreamchil...
How Lewis Carroll computed determinants https://www.johndcook.com/blog/2023/07/10/lewis-carroll-dete...
Condensation of Determinants, Being a New and Brief Method for Computing their Arithmetical Values https://www.gutenberg.org/files/37354/37354-pdf.pdf (cited by John D Cook in his article)
[0] Lewis Carroll's Mathematical works https://en.wikipedia.org/wiki/Lewis_Carroll#Mathematical_wor...
[1] Dodgson condensation https://en.wikipedia.org/wiki/Dodgson_condensation
EDIT: please don't downvote parent comment. He pointed out a grammatical error in my previous comment that I have now edited.
I'm surprised to see, on HN of all places, so many people taking the AI bait so often. Seems like more than half of blog posts and articles posted here are AI generated, but people skip reading the content and just go straight to the comments to discuss the title out of context.
> "Grin like a Cheshire cat" was a common phrase in Carroll's day. Its origin is not known. The two leading theories are: (1) A sign painter in Cheshire (the county, by the way, where Carroll was born) painted grinning lions on the signboards of inns in the area (see Notes and Queries, No. 130, April 24, 1852, page 402); (2) Cheshire cheeses were at one time molded in the shape of a grinning cat (see Notes and Queries, No. 55, Nov. 16, 1850, page 412). "This has a peculiar Carrollian appeal," writes Dr. Phyllis Greenaere in her psychoanalytic study of Carroll, "as it provokes the fantasy that the cheesy cat may eat the rat that would eat the cheese." The Cheshire Cat is not in the original manuscript, Alice's Adventures Under Ground.
It continues with a full page on the topic, none of which are anything to do with math jokes.
As for the cat's smile, analytic philosophy substance/property stuff goes back to Leibniz if not Aristotle. Dodgeson basically predates much of Russel's career, but he could have been an influence on his idea of "bundles" and he definitely influenced Quine. He wrote a few textbooks if you want to dig into his research interests but IIRC it's more along the lines of Boole and DeMorgan, even if fictional fun is arguably anticipating the next wave. I linked the haddock's eyes elsewhere in thread.. good fun but also some rich implications. Since he's preoccupied with self-reference you could argue it anticipates Godel. https://en.wikipedia.org/wiki/Use%E2%80%93mention_distinctio...
Of course this could also be traditional literary analysis. It’s hard to tell.
It seems more likely to just be an absurd joke where Alice finds herself with an altered version of multiplication where 4n is interpreted as n + 7, causing multiplication to grow more slowly than normal, causing her to exclaim "I shall never get to twenty at that rate!" (a common exaggerated but non-literal use of "never", similar to "This is taking forever!" meaning "This is taking a long time!", not "This will literally never end").
The idea that we're instead supposed to think Alice thinks "four times 13 (decimal)" is to have its output read in base 42 (decimal), thus as "1A", considered distinct from "20", the latter being what would be "twenty", and thus she will literally never get to "twenty"... This just doesn't seem well-supported by anything in the text.
https://www.tandfonline.com/doi/full/10.1080/26375451.2022.2...
https://www.newscientist.com/article/mg20427391-600-alices-a...
> The simplest explanation of why Alice will never get to 20 is this: the multiplication table traditionally stops with the twelves, so if you continue this nonsense progression—4 times 5 is 12, 4 times 6 is 13, 4 times 7 is 14, and so on—you end with 4 times 12 (the highest she can go) is 19—just one short of 20.
Gardner then writes "A. L. Taylor, in his book The White Knight, advances an interesting but more complicated theory" which is the changing base theory.
He ends with "For another interpretation of Alice's arithmetic, see "Multiplication in Changing Bases: A Note on Lewis Carroll," by Francine Abeles, in Historia Mathematica, Vol. 3 (1976), pages 183-84."
Available at https://www.academia.edu/download/122551204/82113901.pdf .
Currency is now metric but there’s still a few base 12 things in common usage (feet and inches) in the us at least. Nobody’s gone to metric time yet and base 12 transfers smoothly to base 60 too.
Anyway, base 12 is also built into most Germanic languages which have unique names for 11 and 12 (rather than something along the lines of “one-teen” and “two-teen”, which is more common in Romance languages IIRC.
Though programmers may prefer base two (10) or base twelve-and-four (10).
I like this one: Young mathematician goes to first grade and the teacher asks who knows what is 1+2. She stands up and says "I don't know what is it, but I do know that it's the same as 2+1 as addition is commutative in the monoid of natural numbers"
#include <stdio.h>
#define SIX 1+5
#define NINE 8+1
int main() {
printf("%d\n", SIX * NINE);
}Was that the 2-3-4 tree? Can't seem to find it now.
unsigned three = 1;
unsigned five = 5;
unsigned seven = 7;
These actually get changed through pointers to consecutive powers of 3, 5 and 7 respectively. `three` is initialized to the 0th power of 3, but because only a single 1 is needed by the algorithm, `five` and `seven` are initialized to the 1st powers instead.> "Well, in our country," said Alice, still panting a little, "you'd generally get to somewhere else—if you ran very fast for a long time, as we've been doing."
> "A slow sort of country!" said the Queen. "Now, here, you see, it takes all the running you can do, to keep in the same place. If you want to get somewhere else, you must run at least twice as fast as that!"
https://en.wikipedia.org/wiki/Red_Queen%27s_race
Also related, recently it's been used to describe involution (neijuan) in the chinese economy https://en.wikipedia.org/wiki/Neijuan
The product is always 1 and some other digit but not one short of 20
And we only have two multiplications with their result, that’s hardly a pattern
digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
def base_conv(num, base):
if num == 0:
return "0"
if base > 36:
return "too big of base"
result = ""
while num > 0:
result = digits[num%base] + result
num //= base
return result
i = 5;
b = 18;
while b < 37:
print(base_conv(4\*i,b))
i += 1
b += 3
results:
12
13
14
15
16
17
18Beyond this you need to get more creative with your digit symbols.
*edit: bad formatting
Why would anyone be expected to multiply in base 18? Why 18? Where does it come from?
4*5 = 12 is either wrong or base 18
(I definitely didn't get this until I read the rest of the comments here. This is apparently explained in The Annotated Alice.)
At least that mathematical interpretation does hold up logically all the way to the punch line (even if the interpretation wasn't obviously intended by Carroll). The following section on the Tea Party is just nonsensical slop.
I can't remember it exactly, but in the tea-time scene, the guy gives Alice a quiz regarding the topology of a chair or something...
She tries to solve it, upon which they burst out laughing at her saying "there is no solution!"
Does anyone else remember it or am I trippin'?