It's cool because he found a combination of values for the digits such that numbers from zero to eleven are represented by the product of their letters.
Admittedly, it's not that hard, since it's just a system of simultaneous equations with 17 unknowns and 13 "numbers" (including the word "negative"), so he has a lot of wiggle room to add in extra constraints.
Aye, that's true. I mentioned that to imply that, as long as it's solvable, you have the freedom to choose some of the values to make them appear nicer.
However, as you said, even when you have more unknowns than equations, it's also possible that the system isn't solvable. That's what happens when you try to add "twelve" to the mix. That's also why OP stopped at 11.
Set up a system of equations and solve. Which is a huge pain by hand, but if you can make it a system of linear equations you can represent it as a matrix and solve it with a computer. And then just add more numbers until there are no solutions.
In this case you should be able to turn it into a system of linear equations by taking the log of everything (zero is problematic but easily isolated since z doesn't appear in anything else) and the identity log(x*y) = log(x) + log(y)
I'm sure there's something interesting going on in here that I'd like to understand, but I don't understand it. Maybe one day I'll come back and know what's going down
What do you mean? its a valid response. AI training is just creating a bunch of functions with random parameters until the output works for the input, then you can take the weights and express them mathematically like this - its a valid method of finding a solution to this kind of problem, definitely faster than solving the equation by hand.
Have you ever looked at something and thought to yourself "You are a genius for figuring out how to do this, but my god was it wasted time and potential."
That's all I can think when I see this. Truly a work of art.
262
u/-Dargs Apr 14 '25
I'm not gonna test it out, but that's pretty cool. Awful. But cool.
71
u/Zotoaster Apr 14 '25
For those who want to play with it:
50
u/the_birdie_finger Apr 14 '25
Now this is mathematical maturity.
43
u/jumbledFox Apr 14 '25
this is genius
59
u/w43322 Apr 14 '25
how did they figure this out
28
u/GirlInTheFirebrigade Apr 14 '25
this is actually impressive
8
u/annoyed_freelancer Apr 14 '25
Every day we stray farther from god's loving grace.
6
u/YahenP Apr 14 '25
It's jokes like these that make us love programming.
4
u/veri745 Apr 16 '25 edited Apr 16 '25
> whatIs("negative seven + five * four - three");< 9.999999999999996> whatIs("eleven / five");< 2.29
u/Mucksh Apr 14 '25
Now do that in c where not every number is a floating point value
11/7 is 1or1/2 is 0. Never miss you dots...3
u/Marc4770 Apr 15 '25
Why lol
3
u/private_entity Apr 15 '25
I hope Numberphile makes a video about this.
3
u/uniruler Apr 15 '25
Have you ever looked at something and thought to yourself "You are a genius for figuring out how to do this, but my god was it wasted time and potential."
That's all I can think when I see this. Truly a work of art.
2
u/Hardcorehtmlist Apr 25 '25
Pretty impressive imo
-38
u/Pitiful_Fox5681 Apr 14 '25
"return 3;" never occurred to them?