login
A178413
Numbers k such that the product of decimal digits of k divides k+1.
1
1, 11, 21, 23, 27, 111, 113, 121, 131, 143, 161, 167, 211, 233, 311, 323, 411, 431, 447, 539, 611, 671, 713, 863, 1111, 1121, 1133, 1147, 1211, 1217, 1223, 1259, 1313, 1331, 1411, 1529, 1619, 1637, 1721, 1763, 1823, 1943, 2111, 2123, 2127, 2159, 2211, 2231
OFFSET
1,2
LINKS
MAPLE
A178413 := proc(n) option remember: local k, q: if(n=1)then return 1: fi: for k from procname(n-1)+1 do q:=mul(d, d=convert(k, base, 10)): if(q>0 and k+1 mod q = 0)then return k: fi: od: end: seq(A178413(n), n=1..48); # Nathaniel Johnston, May 27 2011
MATHEMATICA
Select[Range[2500], FreeQ[IntegerDigits[#], 0]&&Mod[#+1, Times@@IntegerDigits[#]]==0&] (* Harvey P. Dale, Jul 25 2024 *)
CROSSREFS
Cf. A007602.
Sequence in context: A118853 A117841 A105956 * A050718 A360372 A350766
KEYWORD
nonn,base
AUTHOR
Giovanni Teofilatto, May 27 2010
EXTENSIONS
More terms from R. J. Mathar, May 28 2010
STATUS
approved