login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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.
3
2, 7, 47, 1019, 55414379
OFFSET
1,1
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
EXAMPLE
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).
Sequence in context: A305533 A125813 A254439 * A106159 A160915 A330474
KEYWORD
nonn,fini,full
AUTHOR
Jaroslav Krizek, Feb 07 2021
STATUS
approved