Lilavati
Sign in

Open-Ended Research

More in Open-Ended Research

The Prime Producing Polynomial

Lilavati ยท 4 September 2026
Ages 14โ€“18Mathematics

Composing open-ended questions: the full research arc.

Starting observation

f(n)=n2+n+41f(n) = n^2 + n + 41

Feed in n=0,1,2,โ€ฆ,39n = 0, 1, 2, \dots, 39 and out comes a prime number every single time. Forty primes in a row. Then at n=40n = 40 the spell breaks: f(40)=40ร—41+41=412f(40) = 40 \times 41 + 41 = 41^2, which is not prime. Don't read this collapse as a disappointment. The collapse is the doorway.

The research arc

A research question is never settled in one sitting. It moves through four stages โ€” and a notebook with an AI assistant can write the code, so nobody is blocked by programming:

Query โ†’ Data โ†’ Pattern โ†’ Abstraction

A model chain of questions

  1. Replace 4141 by 4242. Does n2+n+42n^2 + n + 42 produce many primes? What goes wrong when the constant is composite?
  2. So suppose the constant kk is prime: 43,47,5343, 47, 53, and so on. Notice that n=kn = k and n=kโˆ’1n = k - 1 always fail. So look at nn from 00 to kโˆ’2k - 2: how many outputs are prime?
  3. Define the prime density of kk: the number of prime outputs for n=0n = 0 to kโˆ’2k - 2, divided by the number of inputs. Compute it for many primes kk. Plot it. What is the pattern? Which kk turn out unusually lucky, and can you guess why?

Your task

Compose one open-ended question of your own, starting from this polynomial or from any pattern you noticed in it. Creating the question is the crucial step of the whole research process โ€” and it is the step teachers are almost never asked to practise. Then sketch how a group of students would carry your question through the four stages of the arc.

Facilitator notes

For the session leader โ€” reveal after the solve phase, not before.

Quiz

2 questions ยท pass mark 60%. A pass counts towards your certification.

Discussion