Technology, business & useful discoveries
Partner with us
Point & Pattern.

Find the point.
See the pattern.

HomeStoriesTechnology

P vs NP: why checking an answer can be easier than finding it

Someone hands you six numbers: 3, 7, 11, 13, 17 and 19. Can you choose some that add to 40? Finding a combination takes a little searching. Once someone shows you 3 + 7 + 11 + 19, checking the answer is easy. That gap is the doorway into P vs NP.

P vs NP explained using the number target 40, a checked sum, growing counts of possible subsets, overlapping P and NP classes, and a real paper excerpt saying the algebraic result does not settle P vs NP.
Original explanatory artwork: Point & Pattern.

Someone hands you six numbers: 3, 7, 11, 13, 17 and 19. Can you choose some that add to 40? Finding a combination takes a little searching. Once someone shows you 3 + 7 + 11 + 19, checking the answer is easy. That gap is the doorway into P vs NP.

The example is deliberately small. Six numbers have 64 possible subsets. Twenty have 1,048,576; forty have 1,099,511,627,776. Those counts show how many choices exist. They do not prove that a clever algorithm must try them all. Avoiding that leap is central to understanding the problem.

What the letters mean

P is a class of yes-or-no problems that an ordinary algorithm can solve in polynomial time: its work is bounded by a fixed power of the input length. NP is a class where a yes answer has a short certificate that can be checked in polynomial time. For the sum puzzle, the chosen numbers are that certificate. NP stands for nondeterministic polynomial time; it does not mean "not polynomial."

P is already inside NP. If you can solve a problem efficiently, you can also check a proposed yes answer efficiently. The open question is whether all of NP is inside P too. Put plainly: does an efficient way to check always come with an efficient way to solve?

Mathematicians discuss growing families of problems, not the time one person spends on a fixed puzzle. A small example can be easy even when the general problem is difficult. Here, input length means the digits needed to encode the instance, not just the count of numbers.

Why it is being discussed again

The current wave has identifiable triggers. OpenAI and Anthropic released November papers claiming VP differs from VNP, a related question about arithmetic circuits. Anthropic's paper explicitly says its result does not settle ordinary P vs NP. OpenAI also released an October paper claiming a subexponential algorithm for a SAT problem. Subexponential and polynomial describe different growth rates; the former does not by itself establish the latter.

Scott Aaronson's 25 November essay expressed optimism that a proof of P differing from NP might be approaching. That is a researcher's expectation. The Clay Mathematics Institute still lists P vs NP as unsolved. These sources establish a renewed research conversation, without establishing that everybody is discussing it or that the original problem has been solved.

What would change?

A practical general-purpose algorithm following from P = NP could transform search and optimization in areas such as scheduling and software. But a polynomial-time algorithm could still have an enormous exponent or overhead. A theoretical result would need to be examined before anyone promised immediate practical gains.

P differing from NP would establish that some efficiently checkable problems cannot all be efficiently solved in the worst case. It would not guarantee that RSA is secure. Factoring, the number-splitting problem relevant to RSA, is not known to be NP-complete, and cryptographic safety needs more than a worst-case separation. When the next announcement lands, ask which precise problem was solved and what kind of efficiency it actually establishes.

Point & Pattern

Looking for the point that matters. Then the pattern that gives it context.

?

The Point & Pattern letter

Have something
interesting to add.

Make room for a good read.

Loading signup form...

Free to join. Unsubscribe whenever you like. Check your inbox to confirm.