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.

A349346 Dirichlet inverse of A181988, where A181988(n) = A001511(n)*A003602(n).

Original entry on oeis.org

1, -2, -2, 1, -3, 4, -4, 0, -1, 6, -6, -2, -7, 8, 4, 0, -9, 2, -10, -3, 5, 12, -12, 0, -4, 14, -2, -4, -15, -8, -16, 0, 7, 18, 6, -1, -19, 20, 8, 0, -21, -10, -22, -6, 3, 24, -24, 0, -9, 8, 10, -7, -27, 4, 8, 0, 11, 30, -30, 4, -31, 32, 4, 0, 9, -14, -34, -9, 13, -12, -36, 0, -37, 38, 8, -10, 9, -16, -40, 0, -4, 42
Offset: 1

Views

Author

Antti Karttunen, Nov 15 2021

Keywords

Crossrefs

Programs

  • PARI
    up_to = 20000;
    DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(dA001511(n) = 1+valuation(n,2);
    A003602(n) = (1+(n>>valuation(n,2)))/2;
    A181988(n) = (A001511(n)*A003602(n));
    v349346 = DirInverseCorrect(vector(up_to,n,A181988(n)));
    A349346(n) = v349346[n];

Formula

a(1) = 1; a(n) = -Sum_{d|n, d < n} A181988(n/d) * a(d).
a(n) = A349347(n) - A181988(n).