OFFSET
1,1
COMMENTS
Subsequences include A030630 (numbers with 12 divisors), A030636 (numbers with 18 divisors), A030638 (numbers with 20 divisors), A137491 (numbers with 28 divisors), etc. [edited by Jon E. Schoenfield, May 12 2018]
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
d(d(d(d(d(a(n))))))) = 2 for all n.
A036459(a(n)) = 5. - Ivan Neretin, Jan 25 2016
EXAMPLE
a(13)=180; the successive iterates are 18, 6, 4, 3, and finally the 5th is 2;
a(3)=84; divisor numbers are 12, 6, 4, 3, and 2.
MAPLE
A036459:= proc(n) option remember;
if n <= 2 then 0 else 1 + procname(numtheory:-tau(n)) fi
end proc:
select(A036459 = 5, [$1..1000]); # Robert Israel, Jan 25 2016
MATHEMATICA
Select[Range@ 480, Last@ # == 2 && #[[5]] != 2 &@ NestList[DivisorSigma[0, #] &, #, 5] &] (* Michael De Vlieger, Jan 26 2016 *)
PROG
(PARI) is(n)=for(i=1, 4, n=numdiv(n); if(n<3, return(0))); numdiv(n)==2 \\ Charles R Greathouse IV, Sep 17 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
New name from Robert Israel, Jan 25 2016
STATUS
approved