OFFSET
1,1
COMMENTS
180 is the smallest number with a unique smallest prime exponent that is not a member of A130091.
LINKS
Jens Ahlström, Table of n, a(n) for n = 1..9999
Wikipedia, Mode (statistics).
EXAMPLE
2 = 2^1 is a term since it has 1 as a unique smallest exponent.
6 = 2^1 * 3^1 is not a term since it has two primes with the same smallest exponent.
180 = 2^2 * 3^2 * 5^1 is a term since it has 1 as a unique smallest exponent.
MATHEMATICA
q[n_] := Module[{e = FactorInteger[n][[;; , 2]]}, Count[e, Min[e]] == 1]; Select[Range[2, 200], q] (* Amiram Eldar, Jan 08 2023 *)
PROG
(Python)
from sympy import factorint
def ok(k):
c = sorted(factorint(k).values())
return len(c) == 1 or c[0] != c[1]
print([k for k in range(2, 118) if ok(k)])
(Python)
from itertools import count, islice
from sympy import factorint
def A359178_gen(startvalue=2): # generator of terms >= startvalue
return filter(lambda n:(f:=list(factorint(n).values())).count(min(f))==1, count(max(startvalue, 2)))
(PARI) isok(n) = if (n>1, my(f=factor(n), e = vecmin(f[, 2])); #select(x->(x==e), f[, 2], 1) == 1); \\ Michel Marcus, Jan 27 2023
CROSSREFS
Partitions of this type are counted by A362610.
KEYWORD
nonn
AUTHOR
Jens Ahlström, Jan 08 2023
STATUS
approved