OFFSET
1,2
COMMENTS
Alternative name: positive integers with canonical prime factorization p_1 ^ e_1 * p_2 ^ e_2 * ... * p_k ^ e_k which satisfy p_1 ^ e_1 < p_2 ^ e_2 < ... < p_k ^ e_k.
The asymptotic density of this sequence seems to be about 0.84.
LINKS
Boas Bakker, Table of n, a(n) for n = 1..100000
EXAMPLE
18 = 2^1 * 3^2 is in the sequence as 2^1 < 3^2.
12 is not in the sequence because 12 = 2^2 * 3^1 and 4>3.
MATHEMATICA
Select[Range[100], Less @@ Power @@@ FactorInteger[#] &] (* Amiram Eldar, Apr 26 2025 *)
PROG
(PARI) is(n) = {my(f = factor(n), r = 0); for(i = 1, #f~, c = f[i, 1]^f[i, 2]; if(c > r, r = c, return(0))); 1} \\ David A. Corneth, Apr 26 2025
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Boas Bakker, Apr 26 2025
STATUS
approved
