The following information is from the Adventure Timecomic book series. It may not be part of the same canon or continuity as the animated series.
Adventure Time #37 is the thirty-seventh issue of the Adventure Time comic book. This issue features a back-up story titled "Same Math...Different Day," which was written and illustrated by Travis J. Hill.
It’s the first Adventure Time starring its new creative team! With indie all-star Chris Hastings writing and the amazingly talented Zachary Sterling on art, these mathematical adventures are only going to get more algebraic!