login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A359189 a(n) = Sum_{d|n} d * 3^(n/d-1). 2
1, 5, 12, 37, 86, 276, 736, 2261, 6597, 19870, 59060, 177780, 531454, 1595816, 4783272, 14353429, 43046738, 129154113, 387420508, 1162301342, 3486786672, 10460471356, 31381059632, 94143540948, 282429536911, 847289672390, 2541865848120, 7625600676808 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: Sum_{k>=1} k * x^k/(1 - 3 * x^k).
G.f.: Sum_{k>=1} 3^(k-1) * x^k/(1 - x^k)^2.
MATHEMATICA
a[n_] := DivisorSum[n, 3^(n/#-1)*# &]; Array[a, 28] (* Amiram Eldar, Aug 27 2023 *)
PROG
(PARI) a(n) = sumdiv(n, d, d*3^(n/d-1));
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=1, N, k*x^k/(1-3*x^k)))
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=1, N, 3^(k-1)*x^k/(1-x^k)^2))
CROSSREFS
Sequence in context: A368094 A077918 A300534 * A297909 A220705 A034752
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Dec 19 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)