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.

A151913 Numbers n for which (8+n!)/8 is prime.

This page as a plain text file.
%I A151913 #15 Jul 09 2025 04:11:06
%S A151913 7,9,10,12,14,20,23,24,29,44,108,2049,3072,4862,8807,15089
%N A151913 Numbers n for which (8+n!)/8 is prime.
%C A151913 a(17) > 25000. - _Robert Price_, Dec 20 2016
%t A151913 a = {}; Do[If[PrimeQ[(n! + 8)/8], AppendTo[a, n]], {n, 1, 500}]; a
%o A151913 (PARI) is(n)=n>6 && isprime((8+n!)/8) \\ _Charles R Greathouse IV_, Apr 29 2016
%Y A151913 For primes of the form (8+k!!)/8 see A139066.
%Y A151913 Cf. A089130, A117141, A139035, A139057, A139059, A139060, A139062, A139064, A139067.
%Y A151913 Cf. n!/m-1 is a prime: A002982, A082671, A139056, A139199-A139205; n!/m+1 is a prime: A002981, A082672, A089085, A139061, A139058, A139063, A139065, A151913, A137390, A139071 (1<=m<=10).
%K A151913 nonn
%O A151913 1,1
%A A151913 _Artur Jasinski_, Apr 07 2008
%E A151913 Definition corrected Feb 24 2010
%E A151913 More terms from _Serge Batalov_, Feb 18 2015
%E A151913 a(15)-a(16) from _Robert Price_, Dec 20 2016