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.

Showing 1-1 of 1 results.

A348011 a(n) = phi(n^2) * Sum_{d|n} 2^omega(d) / d.

Original entry on oeis.org

1, 4, 10, 20, 28, 40, 54, 88, 102, 112, 130, 200, 180, 216, 280, 368, 304, 408, 378, 560, 540, 520, 550, 880, 740, 720, 954, 1080, 868, 1120, 990, 1504, 1300, 1216, 1512, 2040, 1404, 1512, 1800, 2464, 1720, 2160, 1890, 2600, 2856, 2200, 2254, 3680, 2730, 2960
Offset: 1

Views

Author

Ilya Gutkovskiy, Sep 24 2021

Keywords

Crossrefs

Programs

  • Mathematica
    Table[EulerPhi[n^2] DivisorSum[n, 2^PrimeNu[#]/# &], {n, 50}]
    f[p_, e_] := p^(e - 1) ((p + 1) p^e - 2); a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 50]
  • PARI
    a(n) = eulerphi(n^2)*sumdiv(n, d, 2^omega(d)/d); \\ Michel Marcus, Sep 24 2021

Formula

Multiplicative with a(p^e) = p^(e-1) * ((p + 1) * p^e - 2).
a(n) = Sum_{k=1..n, gcd(n,k) = 1} gcd(n,k-1)^2.
a(n) = Sum_{k=1..n} uphi(gcd(n,k)^2).
a(n) = Sum_{d|n} phi(n/d) * uphi(d^2).
Sum_{k=1..n} a(k) ~ c * n^3, where c = (Pi^2/18) * Product_{p prime} (1 - 2/p^3 + 1/p^4) = 0.4083249979... . - Amiram Eldar, Nov 05 2022
Showing 1-1 of 1 results.