%I A062996
%S A062996 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,
%T A062996 50,51,60,61,70,71,80,81,90,91,100,101,102,103,104,105,106,107,108,109,
%U A062996 110,111,112,113,114,115,116,117,118,119,120,121,122,123,130,131,132
%N A062996 Sum of digits is greater than or equal to product of digits.
%H A062996 Harry J. Smith, <a href="b062996.txt">Table of n, a(n) for n=1,...,1000</
a>
%o A062996 (PARI) SumD(x)= { s=0; while (x>9, s+=x-10*(x\10); x\=10); return(s +
x) } ProdD(x)= { p=1; while (x>9, p*=(x-10*(x\10)); x\=10); return(p*x)
} { n=0; for (a=1, 10^9, if (SumD(a) >= ProdD(a), write("b062996.txt",
n++, " ", a); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net),
Aug 15 2009]
%Y A062996 Cf. A007953, A007954, A034710, A062329, A062996, A062997, A062998, A062999.
%Y A062996 Sequence in context: A080682 A038770 A032517 this_sequence A085380 A162421
A076499
%Y A062996 Adjacent sequences: A062993 A062994 A062995 this_sequence A062997 A062998
A062999
%K A062996 base,nonn
%O A062996 1,2
%A A062996 Henry Bottomley (se16(AT)btinternet.com), Jun 29 2001
|