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.

A247463 Numbers n such that n!3 - 3^3 is prime, where n!3 = n!!! is a triple factorial number (A007661).

Original entry on oeis.org

8, 11, 13, 22, 29, 49, 56, 61, 103, 142, 149, 257, 319, 365, 680, 736, 737, 749, 947, 974, 1040, 4277, 4678, 9961, 10652, 15545, 18064, 31325, 34918, 41032
Offset: 1

Views

Author

Robert Price, Sep 17 2014

Keywords

Comments

Large terms correspond to probable primes.
a(31) > 50000.

Examples

			11!3-27 = 11*8*5*2-27 = 853 is prime, so 11 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];
    lst={};Do[If[PrimeQ[MultiFactorial[n, 3] - 27], AppendTo[lst, n]], {n, 100}];lst
    Select[Range[6,1100],PrimeQ[Times@@Range[#,1,-3]-27]&] (* Harvey P. Dale, Mar 16 2023 *)