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.

A102218 2-Monica numbers.

Original entry on oeis.org

4, 8, 10, 12, 14, 15, 22, 26, 27, 35, 42, 44, 45, 54, 56, 58, 60, 62, 63, 64, 65, 68, 78, 84, 85, 88, 90, 92, 94, 96, 99, 102, 108, 111, 118, 119, 121, 122, 123, 126, 129, 133, 136, 138, 141, 143, 145, 152, 155, 158, 159, 160, 161, 164, 165, 166, 169, 174, 175
Offset: 1

Views

Author

Eric W. Weisstein, Dec 30 2004

Keywords

Comments

Composite numbers k such that the difference between the sum of digits of k (A007953) and the sum of sums of digits of the prime factors of k (taken with multiplicity, A118503) is even. - Amiram Eldar, Apr 23 2021

References

  • József Sándor and Borislav Crstici, Handbook of Number theory II, Kluwer Academic Publishers, 2004, Chapter 4, p. 384.
  • James J. Tattersall, Elementary Number Theory in Nine Chapters, 2nd ed., Cambridge University Press, 2005, p. 93.

Crossrefs

Programs

  • Mathematica
    s[n_] := Plus @@ IntegerDigits[n]; f[p_, e_] := e*s[p]; sp[n_] := Plus @@ f @@@ FactorInteger[n]; mon2Q[n_] := CompositeQ[n] && EvenQ[s[n] - sp[n]]; Select[Range[200], mon2Q] (* Amiram Eldar, Apr 23 2021 *)