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.

A323408 Sum of unitary phi and its Dirichlet inverse: a(n) = A047994(n) + A323407(n).

Original entry on oeis.org

2, 0, 0, 1, 0, 4, 0, 5, 4, 8, 0, 10, 0, 12, 16, 15, 0, 12, 0, 20, 24, 20, 0, 18, 16, 24, 24, 30, 0, 0, 0, 35, 40, 32, 48, 32, 0, 36, 48, 36, 0, 0, 0, 50, 48, 44, 0, 30, 36, 32, 64, 60, 0, 28, 80, 54, 72, 56, 0, 8, 0, 60, 72, 71, 96, 0, 0, 80, 88, 0, 0, 64, 0, 72, 64, 90, 120, 0, 0, 60, 88, 80, 0, 12, 128, 84, 112, 90, 0, 16, 144, 110, 120
Offset: 1

Views

Author

Antti Karttunen, Jan 15 2019

Keywords

Crossrefs

Programs

  • PARI
    up_to = 65537;
    DirInverse(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = -sumdiv(n, d, if(dA047994(n) = { my(f=factor(n)~); prod(i=1, #f, (f[1, i]^f[2, i])-1); };
    v323407 = DirInverse(vector(up_to,n,A047994(n)));
    A323407(n) = v323407[n];
    A323408(n) = (A047994(n) + A323407(n));