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.

Original entry on oeis.org

4, 5, 7, 8, 11, 14, 16, 17, 18, 20, 43, 50, 55, 59, 171, 461, 859, 2830, 3818, 5421, 5593, 10118, 10880, 24350
Offset: 1

Views

Author

Artur Jasinski, Apr 11 2008

Keywords

Comments

a(25) > 25000. - Robert Price, Dec 15 2016

Crossrefs

Programs

  • Maple
    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
  • Mathematica
    a = {}; Do[If[PrimeQ[(n! - 6)/6], Print[a]; AppendTo[a, n]], {n, 1, 300}]; a (* Artur Jasinski *)

Extensions

2 more terms from Emeric Deutsch, Apr 29 2008
More terms from Serge Batalov, Feb 18 2015
a(22)-a(24) from Robert Price, Dec 15 2016