Mathematician cat is back for another calculator! This calculator can add all the whole numbers between a lowest and highest number. Just be aware that incredibly big numbers may come out as infinity. When the cat asks for minimum, enter the lowest number. When the cat says maximum, enter the highest number. Yes, it will work with any combination of negatives and positives.
A legend about the famous mathematician Carl Friedrich Gauss says that his math teacher ask the class to add the numbers from 1 to 100. Gauss found a pattern to do this quickly: 1+100=101; 2+99=101; 3+98=101 and so on, making 50 pairs of numbers that add to 101. With that logic, you could add all the numbers between 1 and 100 with (101)(50). I read his biography one night and heard that story. That night I came up with a formula to apply that concept to any sequence of numbers. I’m sure someone else has come up with this formula, but I thought of it all by my self. My formula ended up being this: (Max+Min)(Total amount of numbers/2) Credits: -Carl Friedrich Gauss for having the legend that put the idea in my head. -Sprites and backdrops original or recolored from the scratch library. -All coding by me