|
|
A061763
|
|
Numbers k such that k is divisible by A061762(k) and the product of digits of k (A007954(k)) is not zero.
|
|
5
|
|
|
19, 29, 39, 42, 49, 59, 69, 79, 89, 99, 126, 132, 285, 312, 522, 594, 1134, 1144, 1159, 1211, 1275, 1323, 1365, 1573, 1632, 1634, 1674, 1715, 1813, 1815, 1911, 1919, 1932, 1944, 2133, 2139, 2516, 2793, 3132, 3135, 3161, 3211, 3213, 3216, 3321, 3363, 3393
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
REFERENCES
|
S. Parmeswaran, S+P numbers, Mathematics Informatics Quarterly, Vol. 9, No. 3 Sept. 1999, Bulgaria.
|
|
LINKS
|
|
|
EXAMPLE
|
42 is a term as 4+2 + 2*4 = 14 and 42 = 14*3.
|
|
MATHEMATICA
|
Select[Range[3400], (y = Times @@ (x = IntegerDigits[#])) != 0 && Divisible[#, Plus @@ x + y] &] (* Jayanta Basu, Jul 14 2013 *)
|
|
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=0, 1249222, p=ProdD(m); if (p && m%(SumD(m) + p) == 0, write("b061763.txt", n++, " ", m)) ) } \\ Harry J. Smith, Jul 27 2009
(PARI) isok(k) = my(d=digits(k)); vecmin(d) && ((k % (vecprod(d) + vecsum(d))) == 0);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 23 2001
|
|
STATUS
|
approved
|
|
|
|