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.

A359786 Dirichlet inverse of A322353, where A322353(n) is the number of factorizations of n into distinct semiprimes.

Original entry on oeis.org

1, 0, 0, -1, 0, -1, 0, 0, -1, -1, 0, 0, 0, -1, -1, 1, 0, 0, 0, 0, -1, -1, 0, 1, -1, -1, 0, 0, 0, 0, 0, 0, -1, -1, -1, 2, 0, -1, -1, 1, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0, -1, 0, 0, 1, -1, 1, -1, -1, 0, 2, 0, -1, 0, -1, -1, 0, 0, 0, -1, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 1, -1, 0, 2, -1, -1, -1, 1, 0, 2, -1, 0, -1, -1, -1, -1, 0, 0, 0, 2, 0, 0, 0, 1, 0
Offset: 1

Views

Author

Antti Karttunen, Jan 16 2023

Keywords

Crossrefs

Cf. A320655 (seems to give the absolute values), A322353, A359785.

Programs

  • PARI
    A322353(n, m=n) = if(1==n, 1, my(s=0); fordiv(n, d, if((2==bigomega(d)&&(d<=m)), s += A322353(n/d, d-1))); (s));
    memoA359786 = Map();
    A359786(n) = if(1==n,1,my(v); if(mapisdefined(memoA359786,n,&v), v, v = -sumdiv(n,d,if(dA322353(n/d)*A359786(d),0)); mapput(memoA359786,n,v); (v)));

Formula

a(1) = 1, and for n > 1, a(n) = -Sum_{d|n, dA322353(n/d) * a(d).
Showing 1-1 of 1 results.