A285320 If n == 0 or A008683(n) == 0, then a(n) = 0, otherwise a(n) = 1+a(A048675(n)); number of iterations of A048675 needed before the result is either zero or nonsquarefree number (A013929).
0, 1, 2, 3, 0, 1, 4, 1, 0, 0, 2, 1, 0, 1, 1, 5, 0, 1, 0, 1, 0, 3, 2, 1, 0, 0, 2, 0, 0, 1, 2, 1, 0, 1, 2, 1, 0, 1, 3, 3, 0, 1, 2, 1, 0, 0, 2, 1, 0, 0, 0, 3, 0, 1, 0, 1, 0, 3, 1, 1, 0, 1, 1, 0, 0, 1, 2, 1, 0, 3, 2, 1, 0, 1
Offset: 0
Examples
a(38) = 3 because 38 = 2*19 (thus squarefree), A048675(38) = 129 (= 3*43), A048675(129) = 8194 (= 2*17*241) and A048675(8194) = 4503599627370561 (= 3^2 * 37 * 71 * 190483425427), so three steps were needed before nonsquarefree number was reached. a(74) >= 3 as A048675(74) = 2049 (squarefree), A048675(2049) = 10633823966279326983230456482242756610 (squarefree), A048675(10633823966279326983230456482242756610) = ???
Comments