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”).

A054610
a(n) = Sum_{d|n} phi(d)*3^(n/d).
7
0, 3, 12, 33, 96, 255, 780, 2205, 6672, 19755, 59340, 177177, 532416, 1594359, 4785228, 14349525, 43053504, 129140211, 387441756, 1162261521, 3486844320, 10460357775, 31381236876, 94143178893, 282430082832, 847288610475
OFFSET
0,2
COMMENTS
Dirichlet convolution of phi(n) and 3^n. - Richard L. Ollerton, May 07 2021
LINKS
FORMULA
a(n) = n * A001867(n).
a(n) = 3*A034754(n). - R. J. Mathar, May 18 2014
a(n) = Sum_{k=1..n} 3^gcd(n,k). - Ilya Gutkovskiy, Apr 16 2021
a(n) = Sum_{k=1..n} 3^(n/gcd(n,k))*phi(gcd(n,k))/phi(n/gcd(n,k)). - Richard L. Ollerton, May 07 2021
PROG
(PARI) a(n) = sum(k=1, n, 3^gcd(n, k)); \\ Michel Marcus, Apr 16 2021
CROSSREFS
Column k=3 of A185651.
Sequence in context: A083725 A192972 A159228 * A183468 A196234 A117655
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 16 2000
STATUS
approved