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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062036 Numbers whose product of digits is four times the sum of the digits. 2
88, 189, 198, 246, 264, 426, 462, 624, 642, 819, 891, 918, 981, 1247, 1274, 1344, 1427, 1434, 1443, 1472, 1724, 1742, 2147, 2174, 2226, 2262, 2417, 2471, 2622, 2714, 2741, 3144, 3414, 3441, 4127, 4134, 4143, 4172, 4217, 4271, 4314, 4341, 4413, 4431 (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

1344 belong to the sequence as (1*3*3*4)/(1+3+3+4) =48/12 = 4.

MATHEMATICA

p4sQ[n_]:=Module[{idn=IntegerDigits[n]}, Times@@idn/Total[idn]==4]; Select[Range[5000], p4sQ]  (* Harvey P. Dale, Apr 26 2011 *)

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

CROSSREFS

Sequence in context: A043522 A044420 A044801 * A184022 A116448 A046330

Adjacent sequences:  A062033 A062034 A062035 * A062037 A062038 A062039

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

License Agreements, Terms of Use, Privacy Policy .

Last modified August 24 04:58 EDT 2017. Contains 291052 sequences.