OFFSET
1,2
EXAMPLE
The first Niven number is 1 and tau(1) = 1, so a(1) = 1.
The second Niven number is 2 and tau(2) = 2, so a(2) = 2.
The 11th Niven number is 12 and tau(12) = 6, so a(11) = 6.
MATHEMATICA
DivisorSigma[0, Select[Range[265], Divisible[#, Plus @@ IntegerDigits[#]] &]] (* Amiram Eldar, Aug 04 2020 *)
PROG
(Magma) niven:=func<n|n mod &+Intseq(n) eq 0 >; [#Divisors(k):k in [1..300]|niven(k)];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Aug 04 2020
STATUS
approved