r/askmath • • 15d 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 15d 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 15d 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 15d 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 14d 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.

1

u/AlterEgo5695 14d ago

They ask "which rule is simplest?

That's the point -- this is not a well-defined criterion. People often claim that such problems have a "correct" answer, and rarely listen to the mathematical reasoning that says "no".

I would be satisfied if problem authors were honest, and called these exercises "guess the pattern -- anything is correct". However, we rarely are that honest.

1

u/Electronic_Code_9373 14d ago

Fair point, and I've seen it myself: some users give answers that follow a different valid rule. I haven't implemented accepting alternate answers yet, but I plan to. That said, the answer section already mentions alternate answers wherever applicable.

Mathematically, you're right that no "what comes next" question has a unique answer. But generalizing from that to all such puzzles isn't fair. In practice, most questions have only one natural answer. The alternatives (like adding a polynomial term just to make the next number different) are contrived, and nobody would actually choose them.

The real problem is a smaller set of questions where two natural rules give different answers. Those are the onesI'll fix: by accepting both answers, adding more terms, or stating the rule type in the question.

I agree "correct answer" is the incorrect claim. "Intended answer" is more appropriate.

1

u/AlterEgo5695 14d ago

In practice, most questions have only one natural answer.

That's where I disagree.

Unless what-comes-next problems clearly specify beforehand which solution class we are allowed to look at, "natural answer" has no meaning. We don't want to treat readers as dumber than they are -- bright ones will notice the vagueness, and be (rightfully) annoyed!

I agree that this may seem pedantic, but I've had this exact discussion too many times to count, starting with grade-6 where these exercises were common busy-work.

1

u/Electronic_Code_9373 14d ago

I don't think "natural answer" is meaningless without it. If you have tap water at home, you don't go to the ocean to get a glass of water. The ocean is a valid source, but nobody would call it the sensible choice. Likewise, when "add 2 each time" explains 2, 4, 6, 8, reaching for a fourth-degree polynomial is going to the ocean. It's possible, but nobody would actually do it.

"Natural" here means the rule a solver with ordinary mathematical background would reach first: basic arithmetic, common sequences, whole numbers. It isn't a formal criterion, but it's not meaningless either. It reflects shared conventions, and most solvers converge on it

Where two rules are equally "near" (two natural rules giving different answers), I agree the puzzle is ambiguous. Those are the ones I'll fix by stating the rule type, adding terms, or accepting both answers.

//That's where I disagree, //

but it deserves a proper answer. I'll get back to you on this later.

1

u/AlterEgo5695 14d ago

I don't think "natural answer" is meaningless without it. If you have tap water at home, you don't go to the ocean to get a glass of water

That is a bad analogy -- we're doing mathematics here, based solely on logic.

Precise definitions and rigorous applications is what this is all about. That's why without clear definition, "natural solution" does indeed not have any meaning.

1

u/Electronic_Code_9373 13d ago

The analogy illustrates a principle; it isn't meant as proof. Sequence puzzles aren't pure deduction. From 2, 4, 6, 8, logic can't force the next term, because infinitely many rules fit. Choosing one is induction, and induction needs a selection principle: parsimony. If a simple rule explains the data, you don't reach for an elaborate one, just as nobody walks to the ocean when the tap works.

This isn't vague intuition. Occam's razor is formalized as Minimum Description Length / Kolmogorov complexity. So "natural answer" has a precise meaning: the continuation given by the shortest rule that fits.

For which of the following series can you find two different rules that fit all the given terms but give different next terms(whole numbers), where each rule can be stated in one short sentence without referring to the given terms (apart from the starting value)?

  1. 1,3,15,105,945

  2. 2, 3, 5, 7, 11, 13, 17,19,

  3. 7, 8, 12, 21, 37

  4. 25, 30 , 39 , 52 , 69,

  5. 2, 6, 81, 342, 6201

  6. 2,3,7,25,121,

  7. 23 , 35 , 58 , 812 , 1217 , 1723

  8. 253 , 351 , 152 , 250 , 51,

  9. 1 , 8 , 81 , 1024

  10. 8179 , 7186 , 6157 ,5164 ,4135

1

u/AlterEgo5695 13d ago edited 13d ago

given by the shortest rule that fits

For any operation we may define a 1-symbol operator as short-hand, to arrive at any 1-symbol rule we want. This does not help your case.

What is so difficult about treating the reader as an intelligent human being, and admit these types of problems are pure guess-work?

1

u/Electronic_Code_9373 13d ago

I do treat the reader as intelligent. That's the point of these puzzles. The intention isn't to claim the answer is logically forced. It's to find the pattern.

"Not logically forced" doesn't mean "pure guesswork". A guess has no reasoning behind it. Here the solver has to find a rule that fits every given term, and that rule can be checked. With 7, 8, 12, 21, 37, anyone can verify that the differences are 1², 2², 3², 4². If you claim a different answer, you can be asked to show a rule that fits just as simply, and usually you can't.

That's how inductive reasoning works everywhere, including science. Data never forces a theory, but nobody calls physics guesswork. We prefer the explanation that fits the evidence with the fewest assumptions, and we can defend that choice.

For me, these puzzles are less about the final number and more about spotting the structure: the squares in the differences, the digit sums, the hidden concatenation. The answer is just evidence that you found the pattern.

→ More replies (0)