cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A386809 Numbers that have exactly two exponents in their prime factorization that are equal to 5.

Original entry on oeis.org

7776, 38880, 54432, 85536, 100000, 101088, 132192, 147744, 178848, 194400, 225504, 241056, 272160, 287712, 300000, 318816, 334368, 365472, 381024, 412128, 427680, 458784, 474336, 505440, 520992, 537824, 552096, 567648, 598752, 614304, 645408, 660960, 692064, 700000
Offset: 1

Views

Author

Amiram Eldar, Aug 03 2025

Keywords

Comments

The asymptotic density of this sequence is Product_{p primes} (1 - 1/p^5 + 1/p^6) * ((Sum_{p prime} (p-1)/(p^6 - p + 1))^2 - Sum_{p prime} ((p-1)^2/(p^6 - p + 1)^2)) / 2 = 4.86539910559896710587...*10^(-5) (Elma and Martin, 2024).

Crossrefs

Numbers that have exactly two exponents in their prime factorization that are equal to k: A386797 (k=2), A386801 (k=3), A386805 (k=4), this sequence (k=5).
Numbers that have exactly m exponents in their prime factorization that are equal to 5: A386807 (m=0), A386808 (m=1), this sequence (m=2), A386810 (m=3).

Programs

  • Mathematica
    f[p_, e_] := If[e == 5, 1, 0]; s[1] = 0; s[n_] := Plus @@ f @@@ FactorInteger[n]; Select[Range[700000], s[#] == 2 &]
  • PARI
    isok(k) = vecsum(apply(x -> if(x == 5, 1, 0), factor(k)[, 2])) == 2;