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.

A280005 Least prime p such that p^n + 1 is the product of n distinct primes.

Original entry on oeis.org

2, 3, 13, 43, 73, 47, 457, 1697, 109, 8161, 10429, 13183, 30089, 66569, 5281
Offset: 1

Views

Author

Altug Alkan, Feb 24 2017

Keywords

Comments

Corresponding values of p^n + 1 are 3, 10, 2198, 3418802, 2073071594, 10779215330, 4163067000501310394, ...
a(16) <= 206874667. - Daniel Suteu, Dec 09 2022

Examples

			a(2) = 3; 3^2 + 1 = 2 * 5.
a(3) = 13; 13^3 + 1 = 2 * 7 * 157.
a(4) = 43; 43^4 + 1 = 2 * 17 * 193 * 521.
		

Crossrefs

Programs

  • PARI
    a(n) = my(p=2); while (!issquarefree(p^n+1) || omega(p^n+1) != n, p = nextprime(p+1)); p;