cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A073309 Primes of the form k! + k + 1.

This page as a plain text file.
%I A073309 #17 Nov 07 2024 09:53:50
%S A073309 2,3,5,29,727,3628811,
%T A073309 80658175170943878571660636856403766975289505440883277824000000000053
%N A073309 Primes of the form k! + k + 1.
%C A073309 a(6) = 3628811 and a(7), a 68-digit number, have been certified prime with Primo.
%F A073309 a(n) = A073308(n)! + A073308(n) + 1.
%e A073309 a(4) = 6! + 6 + 1 = 727, a prime, so 727 is in this sequence (6 = A073308(4)).
%t A073309 f[n_]:=n!+n+1; lst={};Do[p=f[n];If[PrimeQ[p],AppendTo[lst,p]],{n,0,2*5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Jul 02 2009 *)
%o A073309 (PARI) for(n=0,1960,p=n!+n+1; if(isprime(p),print1(p,",")))
%Y A073309 Cf. A073308 (corresponding n), A100858.
%K A073309 nonn
%O A073309 1,1
%A A073309 _Rick L. Shepherd_, Jul 24 2002