OFFSET
2,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..1368
FORMULA
a(p) = p for an odd prime p.
EXAMPLE
a(3) = 3 since 3 is a Niven number in base 3 and in no other base smaller than 3. 1 and 2 are also Niven numbers in base 3, but they are also Niven numbers in base 2.
MATHEMATICA
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Aug 19 2022
STATUS
approved