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.
%I A073308 #38 Mar 22 2018 10:22:44 %S A073308 0,1,2,4,6,10,52,6822,30838 %N A073308 Numbers k such that k! + k + 1 is prime. %C A073308 Clearly, for k>2, k != 2 (mod 3). %C A073308 Often m! + 2, m! + 3, ..., m! + m is cited as a constructed sequence of m-1 consecutive composite numbers. %C A073308 Except for 0, k+1 is prime. - _Robert Israel_, Jan 13 2015 %D A073308 J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 52, p. 20, Ellipses, Paris 2008. %F A073308 a(n) = A092791(n) - 1. - _Seiichi Manyama_, Mar 19 2018 %t A073308 f[n_]:=n!+n+1; lst={};Do[p=f[n];If[PrimeQ[p],AppendTo[lst,n]],{n,0,2*5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Jul 02 2009 *) %o A073308 (PARI) for(n=0,1960,if(isprime(n!+n+1),print1(n,","))) %Y A073308 Cf. A073309 (corresponding primes), A002981 (n!+1 is prime), A073443 (n!-n-1 is prime), A092791. %K A073308 nonn,more %O A073308 1,3 %A A073308 _Rick L. Shepherd_, Jul 24 2002 %E A073308 a(8) from _T. D. Noe_, Jan 18 2008 %E A073308 a(9) from _Seiichi Manyama_ (by using the data calculated by _Giovanni Resta_, May 04 2013), Mar 19 2018