OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
EXAMPLE
14 is in the sequence because 14 == 4 (mod 5).
MATHEMATICA
Select[Range[2000], Mod[ # - Apply[Times, IntegerDigits[[ # ]]], Apply[Plus, IntegerDigits[[ # ]]]] == 0 &]
PROG
(PARI) isok(k) = {my(d=digits(k)); (k-vecprod(d)) % vecsum(d) == 0} \\ Harry J. Smith, Oct 19 2009
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Santi Spadaro, Nov 18 2001
STATUS
approved