OFFSET
2,3
COMMENTS
EXAMPLE
a(n=8)= 4 because:
8 - bigomega(phi(8)) = 6 (1st step), 6 - bigomega(phi(6)) = 5 (2nd step),
5 - bigomega(phi(5)) = 3 (3rd step), 3 - bigomega(phi(3)) = 2 (4th and final step).
MAPLE
with(numtheory): n0:=200:tabl:=array(1..n0): for n from 1 to n0 do:k:=0:nn:=n:for q from 0 to 1000 while(nn<>2 and n<>1) do:nn:=nn - bigomega(phi((nn))):k:=k+1:od:tabl[n]:=k:od:print(tabl):
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Apr 27 2010
EXTENSIONS
Undefined a(1) and unspecific reference removed - R. J. Mathar, Oct 12 2010
STATUS
approved