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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062034 Numbers whose product of digits is twice the sum of the digits. 1
36, 44, 63, 138, 145, 154, 183, 224, 242, 318, 381, 415, 422, 451, 514, 541, 813, 831, 1146, 1164, 1225, 1233, 1252, 1323, 1332, 1416, 1461, 1522, 1614, 1641, 2125, 2133, 2152, 2215, 2222, 2251, 2313, 2331, 2512, 2521, 3123, 3132, 3213, 3231, 3312, 3321 (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

1225 belong to the sequence as (1*2*2*5)/(1+2+2+5) =20/10 = 2.

MATHEMATICA

Select[Range[4000], Times@@IntegerDigits[#]==2Total[IntegerDigits[#]]&] (* Harvey P. Dale, Dec 11 2016 *)

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, 2111281, if (ProdD(m)==2*SumD(m), write("b062034.txt", n++, " ", m)) ) } \\ Harry J. Smith, Jul 30 2009

CROSSREFS

Sequence in context: A274241 A062519 A138566 * A250641 A168107 A048034

Adjacent sequences:  A062031 A062032 A062033 * A062035 A062036 A062037

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 June 24 09:56 EDT 2017. Contains 288697 sequences.