|
Search: id:A062041
|
|
|
| A062041 |
|
Numbers for which the product of the digits is 9 times their sum. |
|
+0 1
|
|
| 369, 396, 466, 639, 646, 664, 693, 936, 963, 2266, 2338, 2383, 2626, 2662, 2833, 3238, 3283, 3328, 3382, 3823, 3832, 6226, 6262, 6622, 8233, 8323, 8332, 11379, 11397, 11459, 11495, 11549, 11594, 11739, 11793, 11937, 11945, 11954, 11973
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=0,...,500
|
|
EXAMPLE
|
12339 belongs to the sequence as (1*2*3*3*9)/(1+2+3+3+9) = 162/18 = 9.
|
|
PROGRAM
|
(PARI) SumD(x)= { s=0; while (x>9, s=s+x-10*(x\10); x\=10); return(s + x) } ProdD(x)= { p=1; while (x>9, p=p*(x-10*(x\10)); x\=10); return(p*x) } { n=-1; for (m=1, 10^7, if (ProdD(m)==9*SumD(m), write("b062041.txt", n++, " ", m); if (n==500, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 30 2009]
|
|
CROSSREFS
|
Sequence in context: A142579 A098823 A097501 this_sequence A108772 A161020 A102618
Adjacent sequences: A062038 A062039 A062040 this_sequence A062042 A062043 A062044
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 28 2001
|
|
EXTENSIONS
|
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jul 06 2001
|
|
|
Search completed in 0.002 seconds
|