OFFSET
1,2
COMMENTS
Also digital root of A034690 (sum of digits of all the divisors of n).
Also digital root of A000203 (sum of divisors of n). - Michel Marcus, Sep 13 2014
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 12: 1 + 2 + 3 + 4 + 6 + 1 + 2 = 19, 1 + 9 = 10, 1 + 0 = 1; a(12) = 1.
MAPLE
A190998:=proc(n) local d, i, s: d:=numtheory[divisors](n): s:=0: for i from 1 to nops(d) do s:=s+((d[i]-1) mod 9)+1: if(s>=10)then s:=((s-1) mod 9)+1: fi: od: return s: end: seq(A190998(n), n=1..105); # Nathaniel Johnston, Jun 15 2011
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Jaroslav Krizek, Jun 15 2011
STATUS
approved