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.

Showing 1-2 of 2 results.

A177927 3-Monica numbers.

Original entry on oeis.org

4, 9, 10, 22, 24, 25, 27, 34, 42, 46, 55, 58, 60, 72, 78, 81, 82, 85, 94, 105, 106, 114, 115, 118, 121, 126, 128, 132, 142, 145, 150, 166, 178, 180, 186, 187, 192, 195, 202, 204, 205, 214, 216, 222, 224, 226, 231, 234, 235, 243, 253, 256, 258, 262, 265, 274, 276, 285, 289, 295
Offset: 1

Views

Author

Chris Fry, Dec 26 2010

Keywords

Comments

3-Monica numbers are composite positive integers k for which 3 divides S(k)-Sp(k), where S(k) denotes the sum of the digits of k and Sp(k) denotes the sum of the digits in an extended prime factorization of k.

Examples

			S(10)=1+0=1, 10=2*5, Sp(10)=2+5=7, S(10)-Sp(10)=-6 which is divisible by 3.
		

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, Cambridge University Press, 2005, page 93.
  • E. W. Weisstein, The CRC Concise Encyclopedia of Mathematics, CRC Press, 1999, pages 1192-1193.

Crossrefs

Cf. A006753 (Smith numbers are a subset of every n-Monica sequence).
Cf. A102217 (n-Suzanne numbers are a subset of n-Monica numbers).
Cf. A102219 (This list of '3-Monica' numbers is incorrect. It does not contain all the Smith numbers and appears to be based on S(n)+Sp(n) ==0 (mod 3), instead of S(n)-Sp(n) == 0 (mod 3)).

Programs

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

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 *)
Showing 1-2 of 2 results.