login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062996
Numbers whose sum of digits is greater than or equal to its product of digits.
9
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 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, 123, 130, 131, 132
OFFSET
1,2
LINKS
MATHEMATICA
Select[Range[150], Total[IntegerDigits[#]]>=Times@@IntegerDigits[#]&] (* Harvey P. Dale, Sep 27 2023 *)
PROG
(PARI) isok(k)={my(d=digits(k)); vecsum(d) >= vecprod(d)} \\ Harry J. Smith, Aug 15 2009
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Jun 29 2001
STATUS
approved