OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is Product_{p primes} (1 - 1/p^4 + 1/p^5) * (s(1)^3 + 3*s(1)*s(2) + 2*s(3)) / 6 = 4.77477224068657540815...*10^(-7), where s(m) = (-1)^(m-1) * Sum_{p prime} (1/(p^5/(p-1)-1))^m (Elma and Martin, 2024).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Ertan Elma and Greg Martin, Distribution of the number of prime factors with a given multiplicity, Canadian Mathematical Bulletin, Vol. 67, No. 4 (2024), pp. 1107-1122; arXiv preprint, arXiv:2406.04574 [math.NT], 2024.
MATHEMATICA
seq[lim_] := Module[{s = {}, sqfs = Select[Range[Surd[lim, 4]], SquareFreeQ[#] && PrimeNu[#] == 3 &]}, Do[s = Join[s, sqf^4 * Select[Range[lim/sqf^4], CoprimeQ[#, sqf] && !MemberQ[FactorInteger[#][[;; , 2]], 4] &]], {sqf, sqfs}]; Union[s]]; seq[6*10^7]
PROG
(PARI) isok(k) = vecsum(apply(x -> if(x == 4, 1, 0), factor(k)[, 2])) == 3;
CROSSREFS
Numbers that have exactly three exponents in their prime factorization that are equal to k: A386798 (k=2), A386802 (k=3), this sequence (k=4), A386810 (k=5).
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Aug 03 2025
STATUS
approved
