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.

A103856 Smallest prime factor of prime(n)! - prime(n)# + 1.

Original entry on oeis.org

1, 1, 7, 4831, 3673, 16349, 5240507, 4159, 83, 3911, 401, 61, 66935021479, 199, 73, 152249, 379, 5014363, 181, 191, 277, 155893, 35851, 431, 1499
Offset: 1

Views

Author

Reinhard Zumkeller, Feb 20 2005

Keywords

Comments

a(26) has 160 digits and is too large to be included here.

Crossrefs

Programs

  • PARI
    a(n) = if(n>2, factor(prime(n)!-factorback(primes(n))+1)[1, 1], 1); \\ Jinyuan Wang, Dec 30 2024

Formula

a(n) = A020639(A103855(n)).