[Scene opens in Professor Oakβs lab]
(Ash and Pikachu are bouncing in, clearly hyper.)
Ash: βProfessor Oak! We just found this weird map of arrows in the tall grass. What is it?β
Pikachu: βPikaaaa!β (zaps the chalkboard accidentally)
Professor Oak (chuckling): βAh! You have stumbled upon the work of a mathematician named Andrey Markov. He lived over 100 years ago in Russia β and had a beard so big, even Alakazam would be jealous.β
βΈ»
[Cut to Professor Oak drawing on chalkboard]
He sketches: Pikachu β Bulbasaur β Charmander β Pikachu.
Professor Oak: βYou see, before Markov, people thought maths only worked if events did not affect each other β like rolling dice. But Markov asked:
βWhat if the next thing does depend on the last thingβ¦ but not on the whole past?β
That is like saying: If you just battled Pikachu, that is what matters for who shows up next. You do not need to remember every single PokΓ©mon you have ever seen.β
βΈ»
Ash (scratching head): βSoβ¦ Markov invented maths that only cares about… right now?β
Professor Oak: βExactly! That is why we call it a Markov chain β a chain of steps, where each link only depends on the one before it.β
βΈ»
[Cutaway gag: Bearded Markov in black-and-white, surrounded by floating PokΓ©balls]
Third-Person Narrator: βMarkov tested his idea by studying poetry β but if he lived today, he would probably use PokΓ©mon encounters instead of Pushkinβs poems.β
βΈ»
Pikachu (excited): βPika pika!β
Ash: βHe says it makes tall grass way cooler.β
Professor Oak (smiling): βIndeed. Thanks to Markov, we can understand random things that are not totally random β weather, language, even PokΓ©mon battles.β
βΈ»
[Episode ends with Team Rocket eavesdropping]
Jessie: βSo you are saying if we just catch Pikachu onceβ¦β
James: ββ¦we will always know what comes next?β
Meowth: βThat is a Markov mistake!β
[BLASTING OFF AT THE SPEED OF LIGHT… again?]