OFFSET
1,3
COMMENTS
a(n) counts the number of the terms of A235991 encountered [including also n itself if the arithmetic derivative of n is odd] when repeatedly prime shifting n down to 1.
LINKS
FORMULA
For n >= 1, a(A000040(n)) = n, a(n^2) = 0.
PROG
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Apr 22 2022
STATUS
approved