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

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062382 Numbers whose product of digits is 5 times the sum of the digits. 2
257, 275, 345, 354, 435, 453, 527, 534, 543, 572, 725, 752, 1258, 1285, 1528, 1582, 1825, 1852, 2158, 2185, 2235, 2253, 2325, 2352, 2518, 2523, 2532, 2581, 2815, 2851, 3225, 3252, 3522, 5128, 5182, 5218, 5223, 5232, 5281, 5322, 5812, 5821, 8125, 8152 (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

2235 belongs to the sequence as (2*2*3*5)/(2 + 2 + 3 + 5) = 60/12 = 5.

MATHEMATICA

Select[Range[9000], Times@@IntegerDigits[#]==5*Total[IntegerDigits[#]]&] (* Harvey P. Dale, Mar 01 2012 *)

PROG

(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=-1; for (m=1, 10^9, if (ProdD(m)==5*SumD(m), write("b062382.txt", n++, " ", m); if (n==500, break)) ) } \\ Harry J. Smith, Aug 06 2009

CROSSREFS

Sequence in context: A273551 A288411 A060879 * A289560 A256776 A252279

Adjacent sequences:  A062379 A062380 A062381 * A062383 A062384 A062385

KEYWORD

nonn,base,easy

AUTHOR

Amarnath Murthy, Jun 27 2001

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Jul 06 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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 17:40 EST 2018. Contains 318049 sequences. (Running on oeis4.)