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.

A139056 Numbers k for which (k!-3)/3 is prime.

This page as a plain text file.
%I A139056 #45 Apr 03 2023 10:36:11
%S A139056 4,6,12,16,29,34,43,111,137,181,528,2685,39477,43697
%N A139056 Numbers k for which (k!-3)/3 is prime.
%C A139056 Corresponding primes (k!-3)/3 are in A139057.
%C A139056 a(13) > 10000. The PFGW program has been used to certify all the terms up to a(12), using a deterministic test which exploits the factorization of a(n) + 1. - _Giovanni Resta_, Mar 28 2014
%C A139056 98166 is a member of the sequence but its index is not yet determined. The interval where sieving and tests were not run is [60000,90000]. - _Serge Batalov_, Feb 24 2015
%H A139056 C. Caldwell. The Prime database entry for <a href="https://t5k.org/primes/page.php?id=119403">the prime generated by a(i)=98166</a>.
%t A139056 a = {}; Do[If[PrimeQ[(-3 + n!)/3], AppendTo[a, n]], {n, 1, 1000}]; a
%o A139056 (PARI) for(n=1,1000,if(floor(n!/3-1)==n!/3-1,if(ispseudoprime(n!/3-1),print(n)))) \\ _Derek Orr_, Mar 28 2014
%Y A139056 Cf. A007749, A117141.
%Y A139056 Cf. n!/m-1 is a prime: A002982, A082671, A139056, A139199-A139205.
%Y A139056 Cf. n!/m+1 is a prime: A002981, A082672, A089085, A139061, A139058, A139063, A139065, A151913, A137390, A139071.
%Y A139056 Cf. m*n!-1 is a prime: A076133, A076134, A099350, A099351, A180627-A180631.
%Y A139056 Cf. m*n!+1 is a prime: A051915, A076679-A076683, A178488, A180626, A126896.
%K A139056 nonn,more
%O A139056 1,1
%A A139056 _Artur Jasinski_, Apr 07 2008
%E A139056 Definition corrected by _Derek Orr_, Mar 28 2014
%E A139056 a(8)-a(11) from _Derek Orr_, Mar 28 2014
%E A139056 a(12) from _Giovanni Resta_, Mar 28 2014
%E A139056 a(13)-a(14) from _Serge Batalov_, Feb 24 2015