A356136 a(n) is the smallest number k > 1 such that, in the interval 1..k, there are as many integers that have exactly 2n divisors as there are primes (or -1 if no such number exists).
2, 27, -1, 665, -1, 57675, -1, 57230, -1
Offset: 1
Examples
a(2) = 27 = 3^3 because 27 is the smallest number k > 1 such that, in the interval 1..k, there are as many integers with exactly 2*2=4 divisors as there are primes: 9 numbers with 4 divisors (6, 8, 10, 14, 15, 21, 22, 26, 27) and 9 primes (2, 3, 5, 7, 11, 13, 17, 19, 23). a(4) = 665 = 5 * 7 * 19: in 1..665, there are 121 integers with exactly 8 divisors and there are 121 primes, and 665 is the smallest k > 1 for which those two counts are equal.
Crossrefs
Cf. A000010.
Extensions
a(1)=2 prepended by Ivan N. Ianakiev, Oct 16 2022
Comments