OFFSET
1,1
COMMENTS
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
f[p_, e_] := If[e == 2, 1, 0]; s[1] = 0; s[n_] := Plus @@ f @@@ FactorInteger[n]; Select[Range[40000], s[#] == 3 &]
Select[Range[40000], Count[FactorInteger[#][[;; , 2]], 2]==3&] (* Harvey P. Dale, Nov 22 2025 *)
PROG
(PARI) isok(k) = vecsum(apply(x -> if(x == 2, 1, 0), factor(k)[, 2])) == 3;
CROSSREFS
Numbers that have exactly three exponents in their prime factorization that are equal to k: this sequence (k=2), A386802 (k=3), A386806 (k=4), A386810 (k=5).
KEYWORD
nonn,easy
AUTHOR
Amiram Eldar, Aug 02 2025
STATUS
approved
