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.

A243473 a(n) = numerator(sigma(n)/n) - denominator(sigma(n)/n) where sigma(n) = sum of divisors of n.

Original entry on oeis.org

0, 1, 1, 3, 1, 1, 1, 7, 4, 4, 1, 4, 1, 5, 3, 15, 1, 7, 1, 11, 11, 7, 1, 3, 6, 8, 13, 1, 1, 7, 1, 31, 5, 10, 13, 55, 1, 11, 17, 5, 1, 9, 1, 10, 11, 13, 1, 19, 8, 43, 7, 23, 1, 11, 17, 8, 23, 16, 1, 9, 1, 17, 41, 63, 19, 13, 1, 29, 9, 37, 1, 41, 1, 20, 49, 16
Offset: 1

Views

Author

Michel Marcus, Jun 05 2014

Keywords

Comments

a(n) = 1 for n prime or perfect (A053813).
a(n) = A001065(n) when n is in A014567.
a(n) > n for n in A069057. - Michel Marcus, May 04 2016

Crossrefs

Programs

  • Mathematica
    f[n_] := DivisorSigma[1, n]/n; Table[Numerator[f@ n] - Denominator[f@ n], {n, 76}] (* Michael De Vlieger, Sep 09 2015 *)
  • PARI
    a(n) = numerator(ab = sigma(n)/n) - denominator(ab);

Formula

a(n) = A017665(n) - A017666(n).