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.

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

Original entry on oeis.org

13, 14, 16, 19, 22, 23, 26, 38, 64, 104, 137, 203, 296, 346, 347, 379, 481, 568, 899, 1162, 1603, 2614, 5698, 5846, 9253, 9565, 9848, 10406, 16051, 18377, 23110, 26026, 26120, 28994
Offset: 1

Views

Author

Robert Price, Jan 13 2016

Keywords

Comments

Corresponding primes are: 1453, 10133, 56053, 1104373, 24342133, 2504900213, 3091650738173813, ... .
a(35) > 50000.
Terms > 26 correspond to probable primes.

Examples

			13!3 - 3^7 = 13*10*7*4 - 2187 = 1453 is prime, so 13 is in the sequence.
		

Crossrefs

Programs

  • Mathematica
    MultiFactorial[n_, k_] := If[n < 1, 1, If[n < k + 1, n, n*MultiFactorial[n - k, k]]];
    Select[Range[13, 50000], PrimeQ[MultiFactorial[#, 3] - 3^7] &]
    Select[Range[12,6000],PrimeQ[Times@@Range[#,1,-3]-2187]&] (* The program generates the first 24 terms of the sequence. *) (* Harvey P. Dale, Aug 14 2024 *)