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.

A341214 a(n) is the smallest prime p such that p, p - 1, p - 2, ..., p - n + 1 have 2, 4, 6, ..., 2*n divisors respectively.

Original entry on oeis.org

2, 7, 47, 1019, 55414379
Offset: 1

Views

Author

Jaroslav Krizek, Feb 07 2021

Keywords

Comments

a(n) is the smallest prime p such that tau(p) = tau(p - 1)/2 = tau(p - 2)/3 = ... = tau(p - n + 1)/n = 2, where tau(k) = the number of divisors of k (A000005).
No such prime p exists for n > 5, so a(5) is the final term. - Jon E. Schoenfield, Feb 07 2021

Examples

			a(4) = 1019 because 1016, 1017, 1018 and 1019 have 8, 6, 4, and 2 divisors respectively and there is no smaller prime having this property (see A340872).
		

Crossrefs

Cf. A341213 (similar sequence for natural numbers).