login
This site is supported by donations to The OEIS Foundation.

 

Logo

"Email this user" was broken Aug 14 to 9am Aug 16. If you sent someone a message in this period, please send it again.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062035 Numbers whose product of digits is three times the sum of the digits. 2
66, 159, 167, 176, 195, 235, 253, 325, 333, 352, 519, 523, 532, 591, 617, 671, 716, 761, 915, 951, 1168, 1186, 1236, 1263, 1326, 1362, 1618, 1623, 1632, 1681, 1816, 1861, 2136, 2163, 2316, 2361, 2613, 2631, 3126, 3162, 3216, 3261, 3612, 3621, 6118 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,500

EXAMPLE

235 belong to the sequence as (2*3*5)/(2+3+5) =30/10 = 3.

MATHEMATICA

s3Q[n_]:=Module[{idn=IntegerDigits[n]}, 3Total[idn]==Times@@idn]; Select[Range[7000], s3Q]  (* Harvey P. Dale, Mar 20 2011 *)

PROG

(PARI) SumD(x)= { s=0; while (x>9, s=s+x-10*(x\10); x=x\10); return(s + x) } ProdD(x)= { p=1; while (x>9, p=p*(x-10*(x\10)); x=x\10); return(p*x) } { n=-1; for (m=1, 10000000, if (ProdD(m)==3*SumD(m), write("b062035.txt", n++, " ", m); if (n==500, break)) ) } \\ Harry J. Smith, Jul 30 2009

CROSSREFS

Sequence in context: A278783 A258966 A258959 * A043514 A044398 A044779

Adjacent sequences:  A062032 A062033 A062034 * A062036 A062037 A062038

KEYWORD

nonn,base,easy

AUTHOR

Amarnath Murthy, Jun 27 2001

EXTENSIONS

Corrected and extended by Harvey P. Dale and Larry Reeves (larryr(AT)acm.org), Jul 04 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 20 11:43 EDT 2017. Contains 290835 sequences.