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.

A139201 Numbers k such that (k!-6)/6 is prime.

This page as a plain text file.
%I A139201 #12 Feb 06 2019 00:32:03
%S A139201 4,5,7,8,11,14,16,17,18,20,43,50,55,59,171,461,859,2830,3818,5421,
%T A139201 5593,10118,10880,24350
%N A139201 Numbers k such that (k!-6)/6 is prime.
%C A139201 a(25) > 25000. - _Robert Price_, Dec 15 2016
%p A139201 a:=proc(n) if isprime((1/6)*factorial(n)-1)=true then n else end if end proc: seq(a(n),n=4..500); # _Emeric Deutsch_, Apr 29 2008
%t A139201 a = {}; Do[If[PrimeQ[(n! - 6)/6], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (* _Artur Jasinski_ *)
%Y A139201 Cf. A139189, A139190, A139191, A139192, A139193, A139194, A139195, A139196, A139197, A139198.
%Y A139201 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 A139201 nonn
%O A139201 1,1
%A A139201 _Artur Jasinski_, Apr 11 2008
%E A139201 2 more terms from _Emeric Deutsch_, Apr 29 2008
%E A139201 More terms from _Serge Batalov_, Feb 18 2015
%E A139201 a(22)-a(24) from _Robert Price_, Dec 15 2016