proposed
approved
proposed
approved
editing
proposed
After the initial iteration of x -> A003415(x), starting from x=n, a(n) is the first number reached which is either a fixed point of arithmetic derivative (A003415), or a prime, or whose degree (A051903) differs from the degree of n. If n is of the form p^p, a(n) = n, otherwise a(n) is the first number found by iterating the map x -> A003415(x) that is different from n and either a prime, or whose degree (A051903) differs from the degree of n.
After the initial iteration of x -> A003415(x), starting from x=n, a(n) is the first number reached which is either a fixed point of arithmetic derivative (A003415), or a prime, or whose degree (A051903) differs from the degree of n. If n is of the form p^p, a(n) = n, otherwise a(n) is the first number found by iterating the map x -> A003415(x) that is different from n and either a prime, or whose degree (A051903) differs from the degree of n.
a(1) = 0, [as here the degrees of 0 and a(p) = 1 for all primesare considered different].
a(p) = 1 for all primes.