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.

A309548 Numbers k such that sigma(k)! - 1 is prime, where sigma is A000203.

Original entry on oeis.org

2, 3, 4, 5, 6, 11, 13, 21, 29, 31, 37, 170, 180, 214, 234, 265, 362, 369, 10734, 14318, 19679, 19876, 39636, 48784, 62517, 76225, 77277, 83629, 85519, 90649, 92287
Offset: 1

Views

Author

Hauke Löffler, Aug 07 2019

Keywords

Examples

			2 is a term because sigma(2) = 3. 3! - 1 = 5, a prime.
6 is a term because sigma(6) = 12. 12! - 1 = 479001599, a prime.
		

Crossrefs

Programs

  • PARI
    isok(n) = isprime(sigma(n)!-1); \\ Michel Marcus, Aug 07 2019
  • SageMath
    [n for n in range(1,150) if is_prime(factorial(sigma(n))-1)]
    

Extensions

a(12)-a(24) from Daniel Suteu, Aug 07 2019
a(25)-a(31) from Amiram Eldar, May 14 2023