This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingMake an array strictly increasing by subtracting primes.
What this asks
Make an array strictly increasing by subtracting primes.
For each neighbouring pair, subtract the smallest prime that restores the order, or report that none can.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing