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.

A062997 Numbers whose sum of digits is strictly greater than its product of digits.

Original entry on oeis.org

10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 30, 31, 40, 41, 50, 51, 60, 61, 70, 71, 80, 81, 90, 91, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 140, 141, 150, 151, 160, 161, 170
Offset: 1

Views

Author

Amarnath Murthy, Jun 27 2001

Keywords

Comments

Every multiple of 10 is a term.

Examples

			118 is a term as 1 + 1 + 8 = 10, 10 > 8 and 8 = 1 * 1 * 8.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[170], (Plus @@ IntegerDigits[ # ]) > (Times @@ IntegerDigits[ # ]) &] (* Alonso del Arte, May 16 2005 *)
  • PARI
    isok(k)={my(d=digits(k)); vecsum(d) > vecprod(d)} \\ Harry J. Smith, Aug 15 2009

Extensions

Extended by Larry Reeves (larryr(AT)acm.org) and Henry Bottomley, Jun 29 2001