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.

A368749 a(n) is the smallest prime p such that there are n numbers between p and nextprime(p) which are not prime powers.

Original entry on oeis.org

2, 5, 13, 19, 31, 53, 359, 89, 241, 139, 509, 113, 839, 293, 2803, 1831, 523, 1069, 11447, 887, 3469, 1129, 1669, 4177, 39581, 2477, 24631, 2971, 16381, 4297, 124601, 5591, 1327, 8467, 22193, 9551, 79493, 30593, 62989, 19333, 410857, 16141, 436913, 15683, 1038337, 81463, 157579
Offset: 0

Views

Author

Keywords

Comments

Conjecture: the sequence is infinite (number of nonprime powers between consecutive primes is arbitrarily large; see A014963).

Examples

			a(2) = 13 because between 13 and 17 there are three composite numbers, only one of which (16) is a prime power, and no previous prime has this property.
a(5) = 53 because between 53 and 59 there are 5 composite numbers, none of which are prime powers, and no smaller prime has this property.
		

Crossrefs

Programs

Extensions

More terms from Michel Marcus, Jan 04 2024