OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n=1,...,1000
MATHEMATICA
Select[Range[100], Total[IntegerDigits[#]]<=Times@@IntegerDigits[#]&] (* Harvey P. Dale, Feb 21 2017 *)
PROG
(PARI) isok(k)={my(d=digits(k)); vecsum(d) <= vecprod(d)} \\ Harry J. Smith, Aug 15 2009
(PARI) is_A062998(n)={normlp(n=digits(n), 1)<=prod(i=1, #n, n[i])} \\ M. F. Hasler, Oct 29 2014
CROSSREFS
KEYWORD
base,nonn,easy
AUTHOR
Henry Bottomley, Jun 29 2001
STATUS
approved