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.

A092791 Numbers k such that (k-1)! + k is prime.

This page as a plain text file.
%I A092791 #18 May 06 2025 07:16:34
%S A092791 1,2,3,5,7,11,53,6823,30839
%N A092791 Numbers k such that (k-1)! + k is prime.
%C A092791 All terms beyond the first must be prime. [_Charles R Greathouse IV_, Apr 19 2013]
%C A092791 a(10) > 37000. - _Giovanni Resta_, May 04 2013
%F A092791 a(n) = A073308(n) + 1. - _Michael S. Branicky_, May 06 2025
%t A092791 Select[Range[80], PrimeQ[(# - 1)! + #] &] (* _Jayanta Basu_, Apr 19 2013 *)
%o A092791 (PARI) pm1factpp(n) = { forprime(p=1,n, c=0; y=(p-1)!+p;if(isprime(y),print1(p",")) ) }
%Y A092791 Cf. A073308.
%K A092791 nonn
%O A092791 1,2
%A A092791 _Cino Hilliard_, Apr 15 2004
%E A092791 a(8)-a(9) from _Giovanni Resta_, May 04 2013