OFFSET
1,2
COMMENTS
Subsequence of A380692 and first differs from it at n = 428: A380692(428) = 625 is not a term of this sequence.
Disjoint union of the sequences S_k, k >= 1, where S_k is the sequence of p-rough numbers (numbers whose prime factors are all greater than or equal to p), with p = prime(k), whose maximum exponent in their prime factorization is k (i.e., numbers that are (k+1)-free but not k-free, where k-free numbers are numbers whose prime factorization exponents do not exceed k).
The asymptotic density of this sequence is Sum_{i>=1} d(i) = 0.68165919742420048618..., where d(i), the density of S_i, equals f(i+1) * Product_{primes p < prime(i)} ((1-1/p)/(1-1/p^(i+1))) - f(i) * Product_{primes p < prime(i)} ((1-1/p)/(1-1/p^i)), f(i) = 1/zeta(i) if i >= 2, and f(1) = 0.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
2 = 2^1 is a term since PrimePi(2) = 1 >= 1.
4 = 2^2 is not a term since PrimePi(2) = 1 is smaller than the exponent 2.
25 = 5^2 is a term since PrimePi(5) = 3 >= 2.
MATHEMATICA
q[k_] := k == 1 || Module[{f = FactorInteger[k]}, f[[1, 1]] >= Prime[Max[f[[;; , 2]]]]]; Select[Range[100], q]
PROG
(PARI) isok(k) = if(k == 1, 1, my(f = factor(k), e = f[, 2]); f[1, 1] >= prime(vecmax(e)));
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Jan 30 2025
STATUS
approved
