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.

Showing 1-2 of 2 results.

A100858 Primes of the form (p - 1)! + p, p prime.

Original entry on oeis.org

3, 5, 29, 727, 3628811, 80658175170943878571660636856403766975289505440883277824000000000053
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 20 2004

Keywords

Comments

a(n) = A100856(k) = A100857(k) for some k.
Subset of A073309. - R. J. Mathar, Sep 02 2008
No more terms for p < 1250. - Vincenzo Librandi, Dec 26 2010

Crossrefs

Cf. A092791.

Programs

  • Magma
    [ a: p in PrimesUpTo(250) | IsPrime(a) where a is Factorial(p-1)+p ]; // Vincenzo Librandi, Dec 26 2010

A100857 a(n) = greatest prime factor of (prime(n) - 1)! + prime(n).

Original entry on oeis.org

3, 5, 29, 727, 3628811, 6599, 6385271, 1291883, 315389197, 123662437024088191, 2107707330310062524424576119, 50717732086848522419, 14602944428087660261, 55353784249983832172137, 16166897314580017
Offset: 1

Views

Author

Reinhard Zumkeller, Nov 20 2004

Keywords

Examples

			n=6: (prime(6)-1)! + prime(6) = 12! + 13 = 479001600 + 13 = 479001613 = 29*2503*6599, therefore a(6) = 6599.
		

Crossrefs

Programs

  • Mathematica
    FactorInteger[(#-1)!+#][[-1,1]]&/@Prime[Range[15]] (* Harvey P. Dale, Jul 23 2011 *)

Formula

a(n) = A006530(A100856(n)).
a(n) > A000040(n).
Showing 1-2 of 2 results.