Jane challenges the gym leader Pat Wa, known for his math skills. She uses her Pokemon Gralinte to battle Pat Wa's Entreeng. During the battle, Entreeng asks math integration questions that Gralinte answers correctly, defeating Entreeng. Pat Wa then sends out Entorlev, which asks another integration question that Gralinte solves to defeat Entorlev. Pat Wa's final Pokemon Levorente asks a multi-part integration question that tests Gralinte, but Gralinte is still victorious, allowing Jane to defeat Pat Wa.