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.

A348965 Exponential harmonic numbers of type 2 that are not squarefree.

Original entry on oeis.org

12, 18, 36, 40, 60, 75, 84, 90, 120, 126, 132, 135, 150, 156, 180, 198, 204, 208, 228, 234, 252, 270, 276, 280, 306, 342, 348, 360, 372, 396, 414, 420, 440, 444, 450, 468, 492, 516, 520, 522, 525, 540, 544, 558, 564, 588, 600, 612, 624, 630, 636, 660, 666, 675
Offset: 1

Views

Author

Amiram Eldar, Nov 05 2021

Keywords

Comments

Sándor (2006) proved that all squarefree numbers are exponential harmonic numbers of type 2.

Examples

			12 = 2^2 * 3 is a term since it is not squarefree, its exponential divisors are 6 and 12, and their harmonic mean, 8, is an integer.
		

Crossrefs

Intersection of A013929 and A348964.

Programs

  • Mathematica
    f[p_, e_] := p^e * DivisorSigma[0, e] / DivisorSum[e, p^(e-#) &]; ehQ[1] = True; ehQ[n_] := IntegerQ[Times @@ f @@@ FactorInteger[n]]; Select[Range[1000], ! SquareFreeQ[#] && ehQ[#] &]