OFFSET
1,1
COMMENTS
72 = 9 * ds(71) = 9*(7+1) = 9*8; 144 = 18 * ds(143) = 18 * (1+4+3) = 18 * 8.
LINKS
Muniru A Asiru, Table of n, a(n) for n = 1..1000
PROG
(PARI) isok(n) = (n != 1) && !(n % sumdigits(n-1)); \\ Michel Marcus, Apr 17 2018
(GAP) a:=List(Filtered(List([2..700], m->[m, List(List(List([1..m], n->n-1), ListOfDigits), Sum)[m]]), i->i[1] mod i[2]=0), j->j[1]); # Muniru A Asiru, Apr 17 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, May 30 2009
STATUS
approved