P146
projecteuler.net

Investigating a Prime Pattern

ℹ️Published on Saturday, 24th March 2007, 09:00 am; Solved by 5740;
Difficulty rating: 50%

The smallest positive integer $n$ for which the numbers $n^2 + 1$, $n^2 + 3$, $n^2 + 7$, $n^2 + 9$, $n^2 + 13$, and $n^2 + 27$ are consecutive primes is $10$. The sum of all such integers $n$ below one-million is $1242490$.

What is the sum of all such integers $n$ below $150$ million?



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.