WEBVTT
Kind: captions
Language: en-GB

00:00:00.160 --> 00:00:05.280
Are you ready for the biggest number I believe&nbsp;
has ever been used in a game? And the way it's&nbsp;&nbsp;

00:00:05.280 --> 00:00:11.200
generated, I think is like super interesting.&nbsp;
It happens to come out of the game of Magic&nbsp;&nbsp;

00:00:11.200 --> 00:00:15.280
the Gathering, which is why I have all these&nbsp;
cards around me. Now, I don't play Magic. Um,&nbsp;&nbsp;

00:00:15.280 --> 00:00:20.720
friends of mine do, who are massive dorks, and&nbsp;
they assure me, and they're in the room right&nbsp;&nbsp;

00:00:20.720 --> 00:00:25.120
now. They assure me it's a lot of fun, and I get&nbsp;
it. There's lots of cards. The cards interact,&nbsp;&nbsp;

00:00:25.120 --> 00:00:30.480
which is how we get this ridiculous number.&nbsp;
You got some uh like creatures. So, here I've&nbsp;&nbsp;

00:00:30.480 --> 00:00:35.600
got a worm spelled incorrectly. And then you&nbsp;
got spells you can play that change things in&nbsp;&nbsp;

00:00:35.600 --> 00:00:38.720
the game because it's like a two-player&nbsp;
game against someone else. Uh strangling&nbsp;&nbsp;

00:00:38.720 --> 00:00:51.840
soot. Don't know what that is. Uh and Armageddon,&nbsp;
destroy all lands. There you are. I'll play that.

00:00:51.840 --> 00:00:55.360
I regret calling them dorks.

00:01:00.960 --> 00:01:08.400
This video brought to you by Jane Street and their&nbsp;
brand new neural network puzzle. Details later,&nbsp;&nbsp;

00:01:08.400 --> 00:01:13.440
we're going to need somewhere new to film.&nbsp;
Right, new location. Now, the thing about Magic&nbsp;&nbsp;

00:01:13.440 --> 00:01:18.400
the Gathering is it's been around for now over a&nbsp;
third of a century. And if you're thinking that's&nbsp;&nbsp;

00:01:18.400 --> 00:01:26.480
not right, Matt, it came out in 1993. I have some&nbsp;
terrible news about 1993 for you. But the point is&nbsp;&nbsp;

00:01:26.480 --> 00:01:32.160
it started well it was the brainchild of someone&nbsp;
with a PhD in mathematics and it's only got more&nbsp;&nbsp;

00:01:32.160 --> 00:01:38.160
complicated since and over the three decades&nbsp;
since then every possible edge case has come&nbsp;&nbsp;

00:01:38.160 --> 00:01:46.240
up. There are now almost 30,000 different cards.&nbsp;
And so the way they interact has become just an&nbsp;&nbsp;

00:01:46.240 --> 00:01:53.120
unwieldy level of complex. And for that reason,&nbsp;
they've had to introduce some rules to stop things&nbsp;&nbsp;

00:01:53.120 --> 00:01:58.800
from getting too out of hand. Because a lot of the&nbsp;
cards involve calculations and numbers, regulation&nbsp;&nbsp;

00:01:58.800 --> 00:02:08.560
107.1 states that only whole numbers are allowed,&nbsp;
only integers. Let's try and keep this nice and&nbsp;&nbsp;

00:02:08.560 --> 00:02:14.640
simple. If it's something you can't calculate&nbsp;
using integers, well, regulation 107.2 says,&nbsp;&nbsp;

00:02:14.640 --> 00:02:21.360
tough. If you can't calculate it, you get a zero.&nbsp;
We're keeping it neat. Now, once you get to loads&nbsp;&nbsp;

00:02:21.360 --> 00:02:26.400
of cars interacting, you think, well, hang on.&nbsp;
What if there's like a runaway feedback loop?&nbsp;&nbsp;

00:02:26.400 --> 00:02:35.120
Well, regulation 104.4B says no to that. If you've&nbsp;
got some kind of, you know, feedback cycle, which&nbsp;&nbsp;

00:02:35.120 --> 00:02:43.120
is going to carry on infinitely long, no deal.&nbsp;
The game is officially a draw. And that's assuming&nbsp;&nbsp;

00:02:43.120 --> 00:02:47.920
it's a cycle where no player can stop it. If a&nbsp;
player can stop it, then that's fine. and they can&nbsp;&nbsp;

00:02:47.920 --> 00:02:54.720
choose some some arbitrary level at which at which&nbsp;
they quit. And so within those rules, in theory,&nbsp;&nbsp;

00:02:54.720 --> 00:03:00.560
you can only play moves which will give you a&nbsp;
manageable end result. And that worked. Everything&nbsp;&nbsp;

00:03:00.560 --> 00:03:06.800
was nice and manageable for a very long time&nbsp;
until someone found a loophole somewhere above&nbsp;&nbsp;

00:03:06.800 --> 00:03:14.560
big numbers, but before infinity. Our ridiculous&nbsp;
combination involves these three cards which we&nbsp;&nbsp;

00:03:14.560 --> 00:03:21.680
have managed to get our hands on the original.&nbsp;
However, for us non-magic the gathering people,&nbsp;&nbsp;

00:03:21.680 --> 00:03:26.240
h they are dense. There's a lot of like wonderful&nbsp;
artwork. There's a lot of information on these.&nbsp;&nbsp;

00:03:26.240 --> 00:03:32.320
And so what we've done is we've made three&nbsp;
simplified standup maths versions and we're&nbsp;&nbsp;

00:03:32.320 --> 00:03:41.200
going to use those to explain how it all works.&nbsp;
Starting uh with this one, card A, double it. Now,&nbsp;&nbsp;

00:03:41.200 --> 00:03:46.640
this card doubles the number of tokens that are&nbsp;
put into play. And the one nuance here is you'll&nbsp;&nbsp;

00:03:46.640 --> 00:03:52.960
have like your original creature cards or like you&nbsp;
know, spell cards. And you can also have copies of&nbsp;&nbsp;

00:03:52.960 --> 00:03:57.440
them that are called tokens. And the game deals&nbsp;
with them subtly differently. The original and&nbsp;&nbsp;

00:03:57.440 --> 00:04:02.720
all the token copies. This is if you're putting in&nbsp;
token copies of something, they get doubled. Now,&nbsp;&nbsp;

00:04:02.720 --> 00:04:07.120
we'll get to card B in a moment because before&nbsp;
you play B, you have to have card C in action. And&nbsp;&nbsp;

00:04:07.120 --> 00:04:13.600
card C says once you do play B, you're going to&nbsp;
get another token copy of it appearing. And once&nbsp;&nbsp;

00:04:13.600 --> 00:04:20.960
you've got A and C ready, our ridiculous loop is&nbsp;
set to kick off. Now, it's time for card B, which&nbsp;&nbsp;

00:04:20.960 --> 00:04:27.680
in the original is called Astral Dragon. We've&nbsp;
just called make two because when you play this,&nbsp;&nbsp;

00:04:27.680 --> 00:04:34.000
you make two token copies of A. So, in theory,&nbsp;
we need two copies of this to now enter the game.&nbsp;&nbsp;

00:04:34.000 --> 00:04:39.360
But because they're tokens entering the game,&nbsp;
card A's power is to take entering tokens and&nbsp;&nbsp;

00:04:39.360 --> 00:04:44.320
double them. So, we'd actually get four. So,&nbsp;
just by playing this one card, we should get&nbsp;&nbsp;

00:04:44.320 --> 00:04:53.440
four token copies of A appearing as if by magic,&nbsp;
the gathering. Now, to get those copies, well,&nbsp;&nbsp;

00:04:53.440 --> 00:04:58.080
okay, this card over here, I know I'm going&nbsp;
a little off. Um, this mystical teachings&nbsp;&nbsp;

00:04:58.080 --> 00:05:12.640
card says I can search search your library. So,&nbsp;
I'm going to use that to head to the library.

00:05:12.640 --> 00:05:19.440
So, at my local library, I was able to make some&nbsp;
extra photo copies of card A, which if I now cut&nbsp;&nbsp;

00:05:19.440 --> 00:05:28.080
them apart, gives us four token. And you can tell&nbsp;
they're token cuz they're now grayscale copies of&nbsp;&nbsp;

00:05:28.080 --> 00:05:32.640
of A. So there we are. We can put them all into&nbsp;
play. I'll just put them down here. We're now&nbsp;&nbsp;

00:05:32.640 --> 00:05:39.280
going to resolve the C issue, which is by playing&nbsp;
B, we also get an extra token copy. And I've&nbsp;&nbsp;

00:05:39.280 --> 00:05:43.760
got a couple down here. I've made these a little&nbsp;
smaller. You'll see why in a moment. So we put one&nbsp;&nbsp;

00:05:43.760 --> 00:05:50.480
token copy in of B because of C. But look at this.&nbsp;
There's five A's over here. And they all see this&nbsp;&nbsp;

00:05:50.480 --> 00:05:56.320
happening. And each one of them, well, the first&nbsp;
one here decides that it's going to double this&nbsp;&nbsp;

00:05:56.320 --> 00:06:00.880
one coming in. Okay, so now we got two of those.&nbsp;
And then the next one sees both of these coming&nbsp;&nbsp;

00:06:00.880 --> 00:06:05.360
in, so it doubles those. And now we've got four&nbsp;
of them. And then the next one sees these four&nbsp;&nbsp;

00:06:05.360 --> 00:06:10.400
and doubles them. Then we get eight. And well,&nbsp;
there's five of them. So we have to double it five&nbsp;&nbsp;

00:06:10.400 --> 00:06:19.280
times. So we get two to the power of five token&nbsp;
copies of B. There are now 32 extra B's in play.&nbsp;&nbsp;

00:06:19.280 --> 00:06:24.560
We've just put in 32 newbies. And every single&nbsp;
one of these tokens says, "When this enters play,&nbsp;&nbsp;

00:06:24.560 --> 00:06:29.760
put two token copies of A in." So, I need to&nbsp;
add another two token copies of A. But guess&nbsp;&nbsp;

00:06:29.760 --> 00:06:35.120
what's over here? Already five A's. And they're&nbsp;
going to do the same thing to the incoming two&nbsp;&nbsp;

00:06:35.120 --> 00:06:41.360
A's I did to the incoming 1B. Now, a single&nbsp;
B got doubled five times. We had 32 of them.&nbsp;&nbsp;

00:06:41.360 --> 00:06:48.160
If we have two A's coming in, it's going to&nbsp;
get doubled five times, which would be 64.&nbsp;&nbsp;

00:06:49.920 --> 00:06:59.120
So, here we have this is 64 A's, which&nbsp;
I'm now going to add in to our A pile. Oh,&nbsp;&nbsp;

00:06:59.120 --> 00:07:08.400
no. Because if I put these in, we now have a total&nbsp;
of 69 A's over here. And we've only deployed one.&nbsp;&nbsp;

00:07:08.400 --> 00:07:20.080
We've done that one. We've done one of our 32 Bs.&nbsp;
So now the next the next B comes in. It's going to&nbsp;&nbsp;

00:07:20.080 --> 00:07:29.120
make two new A's and they're going to be seen by&nbsp;
69 pre-existing A's. So it's the two is going to&nbsp;&nbsp;

00:07:29.120 --> 00:07:42.000
get doubled 69 times. Wow. We're about we're going&nbsp;
to have to add two to the 70 A's. And here we go.&nbsp;&nbsp;

00:07:42.000 --> 00:07:50.000
So, I have put these um we're now running 64 to&nbsp;
a sheet and we have an additional 2 to the 70&nbsp;&nbsp;

00:07:50.000 --> 00:07:56.640
copies of A plus the 69 that were already here.&nbsp;
How many do we have? Could we work it out? I've&nbsp;&nbsp;

00:07:56.640 --> 00:08:04.000
worked it out. Is that many? Look at that. It's&nbsp;
a number with 22 digits. Oh, little confession.&nbsp;&nbsp;

00:08:04.000 --> 00:08:09.920
I didn't photocopy them all cuz if we wanted&nbsp;
to have This is basically 10 to the 21. And&nbsp;&nbsp;

00:08:09.920 --> 00:08:16.240
if we wanted that many card A's at this scale, the&nbsp;
amount of paper it would take would fill more than&nbsp;&nbsp;

00:08:16.240 --> 00:08:24.480
one entire shipping container with just paper. In&nbsp;
fact, it would fill multiple shipping containers.&nbsp;&nbsp;

00:08:24.480 --> 00:08:31.120
It would fill enough shipping containers to&nbsp;
fill 1 million shipping container tankers. Uh,&nbsp;&nbsp;

00:08:31.120 --> 00:08:35.840
that's a lot of paper. We'll talk more about&nbsp;
outrageously big numbers in a moment. But just to&nbsp;&nbsp;

00:08:35.840 --> 00:08:41.440
complete this journey, we're going to keep going&nbsp;
through B's. And each time we go through B's,&nbsp;&nbsp;

00:08:41.440 --> 00:08:47.280
we get a number of additional A's equal to 2 to&nbsp;
the power of the number we have already + one.&nbsp;&nbsp;

00:08:47.280 --> 00:08:54.160
So our sequence is each next term in the sequence&nbsp;
is the previous term plus 2 to the power of the&nbsp;&nbsp;

00:08:54.160 --> 00:09:02.720
previous term plus one. And we should do that&nbsp;
well through all 32 of the new bees that showed&nbsp;&nbsp;

00:09:02.720 --> 00:09:13.200
up. And so the sequence goes five 69 that a lot&nbsp;
and then a lot a lot a lot a lot. You get the&nbsp;&nbsp;

00:09:13.200 --> 00:09:20.160
idea. Now to deal with the elephantized number in&nbsp;
the room. What does a 22digit number even mean?&nbsp;&nbsp;

00:09:20.160 --> 00:09:24.960
And a lot of people when I said a big number&nbsp;
in a game might be thinking about the classic&nbsp;&nbsp;

00:09:24.960 --> 00:09:30.880
52 factorial because if you take a deck of 52&nbsp;
cards, you give them a decent shuffle. There's 52&nbsp;&nbsp;

00:09:30.880 --> 00:09:36.800
factorial possible arrangements of this deck. But&nbsp;
here's the thing about that number and the card&nbsp;&nbsp;

00:09:36.800 --> 00:09:43.040
number. We could write them down. I mean, I have&nbsp;
written that one down. You could write down 52&nbsp;&nbsp;

00:09:43.040 --> 00:09:49.600
factorial. But the next step up of this, could you&nbsp;
write that down? because it's going to h well in&nbsp;&nbsp;

00:09:49.600 --> 00:09:57.120
binary it'll have that many digits because that's&nbsp;
the rate at which this is growing and in base 10&nbsp;&nbsp;

00:09:57.120 --> 00:10:03.600
we just divide it by it's about a third going from&nbsp;
base 2 to base 10 so it would have a third of that&nbsp;&nbsp;

00:10:03.600 --> 00:10:09.600
many digits in base 10 the next one up and there's&nbsp;
no way we can write that down the one after that&nbsp;&nbsp;

00:10:09.600 --> 00:10:18.960
absolutely not the number of atoms in the knowing&nbsp;
universe we believe is about this many Now, um,&nbsp;&nbsp;

00:10:18.960 --> 00:10:25.680
I've made that number up. That's 81 random digits.&nbsp;
It's about 10 to the 80. So, it could be this.&nbsp;&nbsp;

00:10:25.680 --> 00:10:32.400
The exact number it happens to be right now will&nbsp;
look exactly like this. And anything above that,&nbsp;&nbsp;

00:10:32.400 --> 00:10:38.640
there aren't enough atoms in the universe, one&nbsp;
per digit, to write them down. And this very&nbsp;&nbsp;

00:10:38.640 --> 00:10:45.520
quickly exceeds a power bigger than the number of&nbsp;
atoms in the universe. So, the order of magnitude&nbsp;&nbsp;

00:10:45.520 --> 00:10:50.640
is just nuts. In fact, if you put this whole&nbsp;
recursion thing, I mean, we tried it in Excel,&nbsp;&nbsp;

00:10:50.640 --> 00:10:56.000
that crashes real fast. We put it into Python,&nbsp;
that's as far as it gets. We then use something&nbsp;&nbsp;

00:10:56.000 --> 00:11:01.840
called hypercal. And if you do continue the number&nbsp;
of iterations, you can represent the number as&nbsp;&nbsp;

00:11:01.840 --> 00:11:08.320
this, a power tower that's 30 high. So, what we&nbsp;
have here, a power tower. You start at the top,&nbsp;&nbsp;

00:11:08.320 --> 00:11:13.600
you work your way down. At the top, we have 10 ^&nbsp;
3.6 * 10 20. And we could write all those digits&nbsp;&nbsp;

00:11:13.600 --> 00:11:19.440
out. There's a lot. um if we could even work them&nbsp;
out. And then the next one down. So you calculate&nbsp;&nbsp;

00:11:19.440 --> 00:11:25.600
each layer as you go down. There are 30 of these.&nbsp;
As you go down each one, the next one has as many&nbsp;&nbsp;

00:11:25.600 --> 00:11:34.720
digits as the value of the one above. And it's&nbsp;
nuts how fast you you run out of universe to&nbsp;&nbsp;

00:11:34.720 --> 00:11:43.280
write this in. Like this is just an insanely&nbsp;
large but finite and very specific number. So,&nbsp;&nbsp;

00:11:43.280 --> 00:11:49.040
what's amazing about playing this in Magic the&nbsp;
Gathering is that you are technically playing&nbsp;&nbsp;

00:11:49.040 --> 00:11:55.200
an exact number of Astral Dragons. And I reckon&nbsp;
if you got that many, I mean, you might win this&nbsp;&nbsp;

00:11:55.200 --> 00:12:03.600
game. And you can argue it's not infinitely large.&nbsp;
It's finite. And it's an exact an exact value.&nbsp;&nbsp;

00:12:03.600 --> 00:12:12.000
Now, this is a lot smaller than Graham's number.&nbsp;
Graham's number is just it's like iterative power&nbsp;&nbsp;

00:12:12.000 --> 00:12:17.120
towers or power towers although it was just&nbsp;
a threshold. It was just like an upper bound&nbsp;&nbsp;

00:12:17.120 --> 00:12:22.880
below which the value to the problem must exist.&nbsp;
And even though this is vanishingly smaller for&nbsp;&nbsp;

00:12:22.880 --> 00:12:28.880
some definition of vanishing and smaller, it's an&nbsp;
exact value that exactly solves this problem. So,&nbsp;&nbsp;

00:12:28.880 --> 00:12:36.080
in that regard, this could arguably be the biggest&nbsp;
number that's ever actually been used by humans in&nbsp;&nbsp;

00:12:36.080 --> 00:12:43.360
this game. It just so happens that it's so big,&nbsp;
we're unable to compute it. Oh, wait a minute.&nbsp;&nbsp;

00:12:43.360 --> 00:12:52.240
You remember rule 107.2. If you can't calculate a&nbsp;
number, it equals zero. You can't calculate this&nbsp;&nbsp;

00:12:52.240 --> 00:12:59.280
number. It exists. It's it's exists as much as&nbsp;
the number seven does. And compared to infinity,&nbsp;&nbsp;

00:12:59.280 --> 00:13:05.520
it's about as big as seven. But as humans, we&nbsp;
can't compute that. So if you did ever play&nbsp;&nbsp;

00:13:05.520 --> 00:13:10.400
the shenanigans in an actual game, and there's&nbsp;
only three cards, easy to achieve. We found them&nbsp;&nbsp;

00:13:10.400 --> 00:13:15.600
all. Like some of them are a little obscure, but&nbsp;
these are all absolutely attainable cards. If you&nbsp;&nbsp;

00:13:15.600 --> 00:13:23.600
somehow contrived to play this in a game, depends&nbsp;
if if the adjudicators will let you get away with&nbsp;&nbsp;

00:13:23.600 --> 00:13:29.040
this. If they insist you need to be able to&nbsp;
calculate the integer value other than just&nbsp;&nbsp;

00:13:29.040 --> 00:13:37.760
proving the integer exists, you've now got zero&nbsp;
dragons. And that's the smallest possible number&nbsp;&nbsp;

00:13:37.760 --> 00:13:43.600
of dragons. Now, if you've enjoyed following&nbsp;
along with Oh, this ridiculous. My goodness,&nbsp;&nbsp;

00:13:43.600 --> 00:13:49.040
you might be the perfect person for what the&nbsp;
sponsor of this video, Jane Street, has in store&nbsp;&nbsp;

00:13:49.040 --> 00:13:55.600
for us. Because speaking of shuffling things,&nbsp;
they have a machine learning neural network&nbsp;&nbsp;

00:13:55.600 --> 00:14:02.320
puzzle which is going to be explained by exploded&nbsp;
matt. If you're not familiar with Jane Street,&nbsp;&nbsp;

00:14:02.320 --> 00:14:07.920
they are a research-driven trading firm where&nbsp;
curious people work on deep problems and they&nbsp;&nbsp;

00:14:07.920 --> 00:14:14.640
believe that deep learning is the future of&nbsp;
quantitative trading. and they have an in-house&nbsp;&nbsp;

00:14:14.640 --> 00:14:21.280
machine learning team who work on neural network&nbsp;
models which help drive their trading strategies.&nbsp;&nbsp;

00:14:21.280 --> 00:14:27.200
They also have to build the infrastructure&nbsp;
required to make those inferences and continue&nbsp;&nbsp;

00:14:27.200 --> 00:14:32.000
that research. If you're at all interested in this&nbsp;
kind of neural network research, Jane Street's&nbsp;&nbsp;

00:14:32.000 --> 00:14:37.600
machine learning team have put together a neural&nbsp;
network puzzle. They trained a neural network with&nbsp;&nbsp;

00:14:37.600 --> 00:14:43.440
96 layers and then they shuffled them and you&nbsp;
got to put them back in order. And you know,&nbsp;&nbsp;

00:14:43.440 --> 00:14:50.400
forget 52 factorial. To my naive understanding,&nbsp;
this is like 96 factorial. That's not a hint. I&nbsp;&nbsp;

00:14:50.400 --> 00:14:55.600
mean, I had a look at it. I couldn't solve this.&nbsp;
But some people watching the video probably can.&nbsp;&nbsp;

00:14:55.600 --> 00:15:00.640
If you do think you've solved it, please send&nbsp;
your answer into Jane Street. I would love to&nbsp;&nbsp;

00:15:00.640 --> 00:15:07.440
see how many viewers of Standup Math videos can&nbsp;
solve this neural network challenge. Anyone can&nbsp;&nbsp;

00:15:07.440 --> 00:15:12.560
do the puzzle. You don't have to care at all about&nbsp;
a career in finance. But if you are curious about&nbsp;&nbsp;

00:15:12.560 --> 00:15:17.440
Jane Street and the work they do with machine&nbsp;
learning, I will have a link below and there's&nbsp;&nbsp;

00:15:17.440 --> 00:15:23.280
like a QR code somewhere on the screen. You can&nbsp;
check out their open roles and available programs.&nbsp;&nbsp;

00:15:23.280 --> 00:15:27.200
That's the video. Thank you so much for watching.&nbsp;
I really appreciate it. I also want to thank&nbsp;&nbsp;

00:15:27.200 --> 00:15:32.480
Tabitha Grove who designed these phenomenal cards.&nbsp;
And if you support me on Patreon, we're going to&nbsp;&nbsp;

00:15:32.480 --> 00:15:38.320
put some extra content up on there about how&nbsp;
Tabitha designed uh these fantastical artworks.&nbsp;&nbsp;

00:15:38.320 --> 00:15:45.120
And uh big thanks to Matthew Franklin who is the&nbsp;
viewer who wrote in and mentioned this ridiculous&nbsp;&nbsp;

00:15:45.120 --> 00:15:51.200
thing in Magic the Gathering. And if you know&nbsp;
any other ridiculous maths things in games,&nbsp;&nbsp;

00:15:51.200 --> 00:15:58.320
gathering related or otherwise, please do let&nbsp;
me know. And um yeah, we'll also link to the&nbsp;&nbsp;

00:15:58.320 --> 00:16:04.000
original Reddit post and whatnot um below.&nbsp;
Uh that's it. That's the whole video. Um if&nbsp;&nbsp;

00:16:04.000 --> 00:16:09.040
you're wondering why the table's shaking slightly,&nbsp;
Skyabad the dog has come through. Skye, over here,&nbsp;&nbsp;

00:16:09.040 --> 00:16:16.800
over here. Over here, and around. You got to say&nbsp;
goodbye. Over Sky, here. And up. And goodbye.

