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.

A090999 Numbers k such that sigma(k)-k = pi(sigma(k)).

Original entry on oeis.org

1, 15, 21, 33, 23069, 42029, 148031, 209911, 3271099
Offset: 1

Views

Author

Naohiro Nomoto, Mar 01 2004

Keywords

Crossrefs

Cf. A000203 (sigma), A000720 (pi), A001065, A070803.

Programs

  • Mathematica
    Do[If[DivisorSigma[1, n]-n==PrimePi[DivisorSigma[1, n]], Print[n]], {n, 1, 10000}]
  • PARI
    isok(k) = {my(s = sigma(k)); s - k == primepi(s);} \\ Amiram Eldar, Jun 20 2025

Extensions

a(9) from Amiram Eldar, Jun 20 2025