OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Digital Root
MATHEMATICA
Select[Range@ 451, Min@ IntegerDigits@ # == FixedPoint[Total@ IntegerDigits@ # &, #] &] (* Michael De Vlieger, Jul 22 2018 *)
PROG
(Magma) [n : n in [1..10000] | (1+(n-1) mod 9) eq &+[Min(Intseq(n))]];
(PARI) isok(n) = (n==0) || (vecmin(digits(n)) == (n-1)%9+1); \\ Michel Marcus, Jul 23 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jul 21 2018
STATUS
approved