[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A353360
a(n) = A006047(A048675(n)).
2
1, 2, 3, 3, 4, 2, 9, 2, 4, 6, 12, 4, 12, 2, 3, 4, 12, 6, 36, 3, 4, 18, 16, 6, 9, 6, 3, 4, 81, 6, 144, 6, 3, 18, 4, 3, 324, 24, 12, 6, 432, 6, 108, 3, 9, 24, 576, 3, 12, 2, 12, 12, 11664, 6, 9, 6, 48, 6, 972, 9, 3888, 216, 4, 3, 4, 6, 1728, 12, 12, 8, 8748, 6, 5184, 162, 4, 48, 9, 18, 34992, 9, 9, 648, 15552, 4, 36, 72
OFFSET
1,2
FORMULA
a(n) = A006047(A048675(n)).
PROG
(PARI)
A006047(n) = { my(m=1, d); while(n, d = (n%3); m *= (1+d); n = (n-d)/3); m; };
A048675(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*2^primepi(f[k, 1]))/2; };
CROSSREFS
Cf. also A332813, A332823 and A353330.
Sequence in context: A159909 A176004 A214738 * A098007 A278116 A352420
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 20 2022
STATUS
approved