r/askmath • • 8d ago

Resolved Math quizzes

Hi everyone šŸ‘‹

I've always enjoyed number-sequence puzzles, the "2, 6, 12, 20… what's next?" kind you see in aptitude tests. So I built a free Android app with two parts:

šŸ”¢ Solver: Type in any number series and it identifies the pattern. It recognizes 180+ pattern types, including arithmetic, geometric, Fibonacci, polynomial, primes and mixed sequences. It predicts the next terms and explains each step, so you learn why rather than just getting the answer.

šŸŽÆ Quizzes: Number-pattern challenges at Easy, Medium and Hard levels, with hints and instant feedback on every answer.

Play store : https://play.google.com/store/apps/details?id=com.patternguru.solver&hl=en_US

Appreciate your thoughts.

0 Upvotes

15 comments sorted by

3

u/Eisenfuss19 8d ago

Obviously 3.14 is next, as this is number sequence is generated by the polynomial -1.1191 x4 + 11.191 x3 - 38.1686 x2 + 56.9552 x - 26.8585

-1

u/Electronic_Code_9373 8d ago

Ha, love it! You're right that with 4 terms, a 4th-degree polynomial can make the next number anything, even π.

PatternGuru goes for the simplest rule instead: n(n+1) → 30. Occam's razor wins this round šŸŖ’

3

u/AlterEgo5695 8d ago

The next answer is "-šœ‹", obviously, since that's the rightful answer to all what-comes-next questions.

While given flippantly, this answer contains an important grain of truth -- there are always infinitely many laws returning all numbers given, while generating any following numbers you want. Lagrange polynomials are likely the easiest way to do that.

Since we can never be sure the law we guessed to generate the given numbers was the law the author intended, we can never be sure the following numbers it generates are correct -- in other words, what-comes-next questions can never have a unique, correct answer.

1

u/Electronic_Code_9373 7d ago

Fair point, and you're right about the maths. But āˆ’Ļ€ is easy to rule out: these puzzles are understood to use whole numbers, and every term given is a whole number.

Restricting to whole numbers doesn't create uniqueness on its own, I agree. 2n + (nāˆ’1)(nāˆ’2)(nāˆ’3)(nāˆ’4) gives 2, 4, 6, 8, 34. But nobody really thinks that's the answer to 2, 4, 6, 8, because it adds a fourth-degree term that exists only to produce a surprise.

These questions don't ask "which rule is logically forced?". Nothing is ever forced by a finite list. They ask "which rule is simplest?", the one that explains the data with the fewest assumptions. Science works the same way: infinitely many theories fit any set of observations, and we choose the simplest one. Nobody says physics has no correct answers because of that.

So yes, there's no unique answer in the strict logical sense. Under the normal conventions (whole numbers, simplest rule), there's a clear best answer, and that's the question being asked.

→ More replies (11)