OFFSET
1,2
EXAMPLE
For n = 5, sigma(8) = 15, which ends in 5. The number 8 is the smallest number with this property so a(5) = 8.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Apr 05 2015
STATUS
approved