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.

A294347 a(n) is the smallest number whose deficiency or abundance is equal to n, or a(n) = 0 if such a number does not exist.

Original entry on oeis.org

6, 1, 3, 18, 5, 9, 7, 50, 22
Offset: 0

Views

Author

Omar E. Pol, Oct 29 2017

Keywords

Comments

If nonzero, a(9) > 10^9. - Michel Marcus, Oct 29 2017
From Robert Israel, Oct 29 2017: (Start)
If n is odd, then a(n) must be a square or twice a square (A028982).
If nonzero, a(9) > 10^13.
Some other values: a(11)=244036, a(17)=100, a(19)=25, a(25)=98, a(31)=15376, a(37)=484, a(39)=162, a(41)=49, a(47)=225, a(51)=72. (End)
a(n) > 10^20 for n in (9, 13, 15, 21, 23, 27, 29, 33, 35, 43, 45); see the intersection of A234285 and A234286. - Michel Marcus, Oct 30 2017
For the intersection mentioned above see A294406. - Omar E. Pol, Nov 01 2017

Crossrefs

Programs

  • Mathematica
    Table[k = 1; While[Abs[2 k - DivisorSigma[1, k]] != n, k++]; k, {n, 0, 8}] (* Michael De Vlieger, Oct 30 2017 *)
  • PARI
    a(n) = {my(k=1); while (abs(2*k-sigma(k)) != n, k++); k;} \\ Michel Marcus, Oct 29 2017