OFFSET
1,2
COMMENTS
More informally, the prime tower factorization of a recursive divisor of n can be obtained by removing branches from the prime tower factorization of n (the prime tower factorization of a number is defined in A182318).
A recursive divisor of n is also a divisor of n, hence a(n)<=A000005(n) for any n, with equality iff n is cubefree (i.e. n belongs to A004709).
A recursive divisor of n is also a (1+e)-divisor of n, hence a(n)<=A049599(n) for any n, with equality iff the p-adic valuation of n is cubefree for any prime p dividing n.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative, with a(p^k)=1+a(k) for any prime p and k>0.
a(A014221(n))=n+1 for any n>=0.
EXAMPLE
The recursive divisors of 40 are: 1, 2, 5, 8, 10 and 40, hence a(40)=6.
MATHEMATICA
a[1] = 1; a[n_] := a[n] = Times @@ (1 + a/@ (Last /@ FactorInteger[n])); Array[a, 100] (* Amiram Eldar, Apr 12 2020 *)
PROG
(PARI) a(n) = my (f=factor(n)); return (prod(i=1, #f~, 1+a(f[i, 2])))
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Rémy Sigrist, Feb 15 2017
STATUS
approved