A062040 Positive numbers whose product of digits is 8 times their sum.
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
Examples
2248 belongs to the sequence as (2*2*4*8)/(2+2+4+8) = 128/16 = 8.
Links
- Harry J. Smith, Table of n, a(n) for n = 1..500
Crossrefs
Programs
-
PARI
isok(n) = my(d=digits(n)); vecprod(d)==8*vecsum(d) \\ Mohammed Yaseen, Sep 11 2022
Extensions
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jul 06 2001
Offset corrected by Mohammed Yaseen, Sep 11 2022