proposed
approved
proposed
approved
editing
proposed
<a href="/index/Pri#prime_indices">Index entries for sequences computed from indices in prime factorization</a>
reviewed
editing
proposed
reviewed
editing
proposed
Number of distinct values obtained when A003963 is applied to all dividors divisors of n. - Antti Karttunen, Sep 05 2018
proposed
editing
editing
proposed
Antti Karttunen, <a href="/A301957/b301957.txt">Table of n, a(n) for n = 1..65537</a>
1, 1, 2, 1, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 4, 1, 2, 3, 2, 2, 4, 2, 2, 2, 3, 2, 4, 2, 2, 4, 2, 1, 4, 2, 4, 3, 2, 2, 4, 2, 2, 4, 2, 2, 6, 2, 2, 2, 3, 3, 4, 2, 2, 4, 4, 2, 4, 2, 2, 4, 2, 2, 5, 1, 4, 4, 2, 2, 4, 4, 2, 3, 2, 2, 6, 2, 4, 4, 2, 2, 5, 2, 2, 4, 4, 2, 4, 2, 2, 6, 4, 2, 4, 2, 4, 2, 2, 3, 6, 3, 2, 4, 2, 2, 8
Number of distinct values obtained when A003963 is applied to all dividors of n. - Antti Karttunen, Sep 05 2018
(PARI)
up_to = 65537;
A003963(n) = { n=factor(n); n[, 1]=apply(primepi, n[, 1]); factorback(n) }; \\ From A003963
v003963 = vector(up_to, n, A003963(n));
A301957(n) = { my(m=Map(), s, k=0, c); fordiv(n, d, if(!mapisdefined(m, s = v003963[d], &c), mapput(m, s, s); k++)); (k); }; \\ Antti Karttunen, Sep 05 2018
More terms from Antti Karttunen, Sep 05 2018
approved
editing
proposed
approved