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.

A033882 Abundancy of the abundant or perfect numbers: m = sigma(k)-2k for n such that m >= 0.

Original entry on oeis.org

0, 4, 3, 2, 12, 0, 12, 19, 10, 12, 28, 12, 8, 48, 12, 4, 51, 12, 26, 56, 4, 54, 60, 17, 12, 2, 64, 24, 12, 120, 60, 72, 12, 56, 115, 72, 80, 58, 39, 144, 12, 20, 186, 12, 124, 7, 72, 65, 96, 18, 156, 168, 64, 12, 56, 104
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Table[DivisorSigma[1,n]-2n,{n,250}],#>=0&] (* Harvey P. Dale, Jan 22 2015 *)
  • PARI
    lista(kmax) = {my(ab); for(k = 1, kmax, ab = sigma(k)-2*k; if(ab >= 0, print1(ab, ", ")));} \\ Amiram Eldar, Apr 06 2024

Formula

a(n) = A033880(A023196(n)). - Amiram Eldar, Apr 06 2024

Extensions

Offset corrected by Amiram Eldar, Apr 06 2024