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.

A346237 Dirichlet inverse of A005187.

Original entry on oeis.org

1, -3, -4, 2, -8, 14, -11, 0, 0, 30, -19, -14, -23, 41, 38, 0, -32, -2, -35, -34, 49, 73, -42, 4, 17, 89, 14, -46, -54, -172, -57, 0, 88, 126, 109, 10, -71, 137, 110, 12, -79, -219, -82, -86, -6, 164, -89, 0, 26, -103, 158, -106, -102, -76, 199, 16, 170, 212, -113, 274, -117, 223, 16, 0, 240, -406, -131, -154, 201
Offset: 1

Views

Author

Antti Karttunen, Jul 13 2021

Keywords

Crossrefs

Programs

  • PARI
    up_to = 65537;
    DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(dA005187(n) = { my(s=n); while(n>>=1, s+=n); s; };
    v346237 = DirInverseCorrect(vector(up_to,n,A005187(n)));
    A346237(n) = v346237[n];

Formula

a(n) = A346238(n) - A005187(n).