OFFSET
1,2
COMMENTS
Old name was: Number of numbers "related" to n: either divisors or terms in RRS of n.
RRS of n means reduced residue system modulo n. One considers here the smallest positive one. - Wolfdieter Lang, Jan 16 2016
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
If p is prime then a(p) = p.
Row sums of triangle A134673. - Gary W. Adamson, Nov 05 2007
MATHEMATICA
DivisorSigma[0, #] + EulerPhi[#] - 1 & /@ Range[73] (* Jayanta Basu, Jul 09 2013 *)
PROG
(PARI) a(n)=my(f=factor(n)); numdiv(f)+eulerphi(f)-1 \\ Charles R Greathouse IV, Nov 14 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Aug 08 2002
EXTENSIONS
Replaced Name with formula. - Wesley Ivan Hurt, Nov 24 2021
STATUS
approved