Horadam, E.M. (1968) “Ramanujan’s Sum and Nagell’s Totient Functio for Arithmetical Semi-Groups”., Mathematica Scandinavica, 22, pp. 269–281. doi:10.7146/math.scand.a-10891.