a(n) is the smallest number k such that m*k^2+1 is prime for all m = 1 to n.

A247965

a(n) is the smallest number k such that m*k^2+1 is prime for all m = 1 to n.

Terms

    a(0) =1a(1) =1a(2) =6a(3) =3240a(4) =113730a(5) =30473520a(6) =3776600100a(7) =16341921960

External references