OFFSET
1,3
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
For n = 10, a(10) = 5 because 10 - sigma(bigomega(10)) = 7 (1st iter.);
7 - sigma(bigomega(7)) = 6 (2nd iter.); 6 - sigma(bigomega(6)) = 3 (3rd iter.);
3 - sigma(bigomega(3)) = 2 (4th iter.); 2 - sigma(bigomega(2)) = 1 (5th and last iter, reaching 1).
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<>1) do: nn:=nn - sigma(bigomega((nn))): k:=k+1: od: tabl[n]:=k: od: print(tabl):
MATHEMATICA
Table[Length[NestWhileList[#-DivisorSigma[1, PrimeOmega[#]]&, n, #!=1&]]-1, {n, 80}] (* Harvey P. Dale, Aug 08 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Lagneau, Apr 27 2010
EXTENSIONS
Unspecific reference removed by R. J. Mathar, Oct 20 2010
STATUS
approved