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.

A323895 Dirichlet inverse of binary Gray code, A003188.

Original entry on oeis.org

1, -3, -2, 3, -7, 7, -4, -3, -9, 27, -14, -10, -11, 15, 20, 3, -25, 35, -26, -45, -15, 55, -28, 13, 28, 43, 22, -24, -19, -91, -16, -3, 7, 99, 6, -58, -55, 103, -8, 63, -61, 55, -62, -94, 71, 111, -56, -16, -25, -148, 58, -73, -47, -107, 152, 33, 67, 75, -38, 196, -35, 63, 148, 3, 57, -53, -98, -171, 9, -59, -100, 78, -109, 219, -208, -178, 5, 13
Offset: 1

Views

Author

Antti Karttunen, Feb 08 2019

Keywords

Crossrefs

Programs

  • PARI
    up_to = 16384;
    DirInverseCorrect(v) = { my(u=vector(#v)); u[1] = (1/v[1]); for(n=2, #v, u[n] = (-u[1]*sumdiv(n, d, if(dA003188(n) = bitxor(n, n>>1);
    v323895 = DirInverseCorrect(vector(up_to,n,A003188(n)));
    A323895(n) = v323895[n];