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.

A349759 Nobly deficient numbers: numbers k such that both d(k) = A000005(k) and sigma(k) = A000203(k) are deficient numbers (A005100).

Original entry on oeis.org

1, 2, 3, 4, 7, 8, 9, 13, 16, 21, 25, 31, 36, 37, 43, 48, 49, 61, 64, 67, 73, 81, 93, 97, 100, 109, 111, 112, 121, 127, 128, 144, 151, 157, 162, 163, 169, 181, 183, 192, 193, 196, 208, 211, 217, 219, 225, 229, 241, 256, 277, 283, 289, 313, 324, 331, 337, 361, 373
Offset: 1

Views

Author

Amiram Eldar, Nov 29 2021

Keywords

Comments

Analogous to sublime numbers (A081357), with deficient numbers instead of perfect numbers.
If p != 5 is a prime such that (p+1)/2 is also a prime (i.e., p is in A005383 \ {5}), then p is a term of this sequence.

Examples

			2 is a term since both d(2) = 2 and sigma(2) = 3 are deficient numbers.
		

Crossrefs

Programs

  • Mathematica
    defQ[n_] := DivisorSigma[1, n] < 2*n; nobDefQ[n_] := And @@ defQ /@ DivisorSigma[{0, 1}, n]; Select[Range[400], nobDefQ]
  • PARI
    isdef(k) = sigma(k) < 2*k; \\ A005100
    isok(k) = my(f=factor(k)); isdef(numdiv(f)) && isdef(sigma(f)); \\ Michel Marcus, Dec 03 2021