OFFSET
1,3
COMMENTS
The number N(x) of Niven numbers less than x is given by N(x) = (c+o(1))*x/log(x).
LINKS
Jean-Marie De Koninck and Nicolas Doyon, Large and Small Gaps Between Consecutive Niven Numbers, J. Integer Seqs., Vol. 6, (2003), Article 03.2.5.
FORMULA
c = (14/27)*log(10).
EXAMPLE
1.1939330111820977620834029765030036632005711422519563579432....
MATHEMATICA
RealDigits[14*Log[10]/27, 10, 100][[1]] (* Amiram Eldar, May 20 2022 *)
PROG
(PARI) (14/27)*log(10) \\ Michel Marcus, Jan 15 2018
CROSSREFS
KEYWORD
cons,nonn
AUTHOR
Benoit Cloitre, Jul 28 2003
STATUS
approved