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.

A349027 Exponential unitary harmonic numbers (A349026) that are not squarefree.

Original entry on oeis.org

12, 18, 36, 40, 60, 75, 84, 90, 120, 126, 132, 135, 144, 150, 156, 180, 198, 204, 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, 630, 636, 660, 666, 675, 680
Offset: 1

Views

Author

Amiram Eldar, Nov 06 2021

Keywords

Comments

First differs from A348965 at n = 13.
All squarefree numbers are exponential unitary harmonic numbers.

Examples

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

Crossrefs

Intersection of A013929 and A349026.

Programs

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