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.

A349400 Dirichlet inverse of EKG-permutation, A064413.

Original entry on oeis.org

1, -2, -4, -2, -3, 7, -12, 8, 6, 7, -15, 18, -14, 41, 3, -12, -16, -4, -22, 9, 63, 33, -30, -49, -26, 28, -10, 15, -39, -2, -32, 6, 103, 13, 30, -69, -19, 31, 67, -68, -44, -218, -23, 39, 36, 70, -52, 38, 88, 67, 65, 52, -55, -21, 20, -294, 147, 69, -66, -52, -31, 35, -144, 48, 16, -240, -37, 93, 165, -180, -76, 78
Offset: 1

Views

Author

Antti Karttunen, Nov 19 2021

Keywords

Crossrefs

Programs

  • PARI
    v064413 = readvec("b064413_to.txt"); \\ Data prepared with Chai Wah Wu's Dec 08 2014 Python-program given in A064413.
    A064413(n) = v064413[n];
    memoA349400 = Map();
    A349400(n) = if(1==n,1,my(v); if(mapisdefined(memoA349400,n,&v), v, v = -sumdiv(n,d,if(dA064413(n/d)*A349400(d),0)); mapput(memoA349400,n,v); (v)));

Formula

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