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.

A169812 a(n) = n XOR d(n) (cf. A000005).

Original entry on oeis.org

0, 0, 1, 7, 7, 2, 5, 12, 10, 14, 9, 10, 15, 10, 11, 21, 19, 20, 17, 18, 17, 18, 21, 16, 26, 30, 31, 26, 31, 22, 29, 38, 37, 38, 39, 45, 39, 34, 35, 32, 43, 34, 41, 42, 43, 42, 45, 58, 50, 52, 55, 50, 55, 62, 51, 48, 61, 62, 57, 48, 63, 58, 57, 71, 69, 74, 65, 66, 65, 78, 69, 68, 75, 78
Offset: 1

Views

Author

N. J. A. Sloane, May 28 2010

Keywords

Crossrefs

Programs

  • Mathematica
    a[n_] := BitXor[n, DivisorSigma[0, n]]; Array[a, 100] (* Amiram Eldar, Jul 08 2019 *)
  • PARI
    a(n)=bitxor(n, numdiv(n)); \\ Michel Marcus, Jul 08 2019