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.

A069169 Nonprimes k such that sigma(k)*Sum_{d|k} 1/sigma(d) is an integer.

Original entry on oeis.org

1, 6, 10, 14, 15, 18, 21, 22, 26, 28, 30, 33, 34, 35, 38, 39, 40, 42, 46, 51, 52, 55, 57, 58, 62, 65, 66, 69, 70, 74, 76, 77, 78, 82, 84, 85, 86, 87, 90, 91, 93, 94, 95, 102, 105, 106, 110, 111, 114, 115, 118, 119, 120, 122, 123, 124, 126, 129, 130, 133, 134, 138, 140
Offset: 1

Views

Author

Benoit Cloitre, Apr 09 2002

Keywords

Crossrefs

Programs

  • Mathematica
    q[n_] := IntegerQ[DivisorSigma[1, n]*DivisorSum[n, 1/DivisorSigma[1, #] &]]; Select[Range[140], !PrimeQ[#] && q[#] &] (* Amiram Eldar, Apr 30 2022 *)
  • PARI
    isok(k) = !isprime(k) && (denominator(sigma(k)*sumdiv(k, d, 1/sigma(d))) == 1); \\ Michel Marcus, Apr 30 2022