login
A062040
Positive numbers whose product of digits is 8 times their sum.
10
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
OFFSET
1,1
LINKS
EXAMPLE
2248 belongs to the sequence as (2*2*4*8)/(2+2+4+8) = 128/16 = 8.
PROG
(PARI) isok(n) = my(d=digits(n)); vecprod(d)==8*vecsum(d) \\ Mohammed Yaseen, Sep 11 2022
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 28 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jul 06 2001
Offset corrected by Mohammed Yaseen, Sep 11 2022
STATUS
approved