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-1 of 1 results.

A118693 Semiprimes which are divisible by the sum of their digits.

Original entry on oeis.org

4, 6, 9, 10, 21, 111, 133, 201, 209, 247, 407, 481, 511, 629, 803, 1011, 1101, 1141, 1387, 1417, 1651, 1679, 1853, 2119, 2159, 2353, 2771, 3031, 3077, 3097, 3383, 3439, 3523, 3749, 3781, 4577, 4607, 5149, 5161, 5219, 5833, 6331, 6443, 7033, 7361, 7501
Offset: 1

Views

Author

Luc Stevens (lms022(AT)yahoo.com), May 20 2006

Keywords

Examples

			133 is in the sequence because it is a semiprime and it is divisible by the sum of its digits, 1+3+3 = 7.
		

Crossrefs

Intersection of A001358 and A005349.
Cf. A118694.

Programs

  • Mathematica
    spQ[n_] := Plus @@ Last /@ FactorInteger@n == 2; Select[Range@7542, spQ@# && IntegerQ[ #/Plus @@ IntegerDigits@# ] &] (* Robert G. Wilson v, Jun 10 2006 *)

Extensions

More terms from Robert G. Wilson v, Jun 10 2006
Showing 1-1 of 1 results.