OFFSET
1,5
COMMENTS
It is interesting to note that a(37147) = 37147.
Also a(53290831) = 53290831. - Michel Marcus, Jun 18 2015
LINKS
Colin Defant, On Arithmetic Functions Related to Iterates of the Schemmel Totient Functions, arXiv:1506.05426 [math.NT], 2015.
C. Defant, On Arithmetic Functions Related to Iterates of the Schemmel Totient Functions, J. Int. Seq. 18 (2015) # 15.2.1
MATHEMATICA
L[n_, m_] :=
If[Min[Select[Divisors[n], PrimeQ]] <= m, 0,
n*Times @@ (1 - m/(Select[Divisors[n], PrimeQ]))]
a[0] := 0
a[3] := 1
a[n_] := L[n, 2] + a[L[n, 2]]
Table[a[i], {i, 2, 30}]
PROG
(PARI) a058026(n) = sumdiv(n, d, n/d*moebius(d)*numdiv(d));
a(n) = {s = 0; itn = n; while((itn) && (itn != 1), vb = a058026(itn); s += vb; itn = vb); s; } \\ Michel Marcus, May 21 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Defant, Apr 26 2014
STATUS
approved