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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062040 Numbers for which the product of the digits is 8 times their sum. 1
448, 456, 465, 484, 546, 564, 645, 654, 844, 1368, 1386, 1449, 1494, 1638, 1683, 1836, 1863, 1944, 2248, 2256, 2265, 2284, 2428, 2482, 2526, 2562, 2625, 2652, 2824, 2842, 3168, 3186, 3618, 3681, 3816, 3861, 4149, 4194, 4228, 4282, 4419, 4491, 4822 (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

2248 belongs to the sequence as (2*2*4*8)/2+2+4+8) = 128/16 = 8.

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

CROSSREFS

Sequence in context: A203960 A147628 A153486 * A093786 A251646 A235177

Adjacent sequences:  A062037 A062038 A062039 * A062041 A062042 A062043

KEYWORD

nonn,base,easy

AUTHOR

Amarnath Murthy, Jun 28 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 April 28 23:30 EDT 2017. Contains 285604 sequences.