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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062037 Numbers whose product of digits is 6 times the sum of the digits. 2
268, 286, 347, 374, 437, 473, 628, 682, 734, 743, 826, 862, 1269, 1296, 1348, 1356, 1365, 1384, 1438, 1483, 1536, 1563, 1629, 1635, 1653, 1692, 1834, 1843, 1926, 1962, 2169, 2196, 2237, 2273, 2327, 2334, 2343, 2372, 2433, 2619, 2691, 2723, 2732, 2916 (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

2237 belong to the sequence as (2*2*3*7)/(2+2+3+7) =84/14 = 6.

MATHEMATICA

p6sQ[n_]:=Module[{idn=IntegerDigits[n]}, Times@@idn==6*Total[idn]]; Select[ Range[ 3000], p6sQ] (* Harvey P. Dale, Aug 17 2014 *)

PROG

(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)==6*SumD(m), write("b062037.txt", n++, " ", m); if (n==500, break)) ) } \\ Harry J. Smith, Jul 30 2009

CROSSREFS

Sequence in context: A186056 A236740 A278382 * A244194 A096613 A234878

Adjacent sequences:  A062034 A062035 A062036 * A062038 A062039 A062040

KEYWORD

nonn,base,easy

AUTHOR

Amarnath Murthy, Jun 27 2001

EXTENSIONS

Corrected and extended by 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified September 23 17:49 EDT 2017. Contains 292363 sequences.