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!)
A356539 a(n) = Sum_{d|n} d * 3^(n-d). 3
1, 5, 12, 49, 86, 492, 736, 3977, 8757, 34030, 59060, 384924, 531454, 2672528, 6672552, 26093113, 43046738, 261646137, 387420508, 2181624374, 4682526672, 17435870644, 31381059632, 204908769276, 299863458511, 1412168408630, 3392641222200, 13912336721584 (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).
If p is prime, a(p) = p + 3^(p-1).
MATHEMATICA
a[n_] := DivisorSum[n, # * 3^(n - #) &]; Array[a, 30] (* Amiram Eldar, Aug 11 2022 *)
PROG
(PARI) a(n) = sumdiv(n, d, d*3^(n-d));
(PARI) my(N=30, x='x+O('x^N)); Vec(sum(k=1, N, k*x^k/(1-(3*x)^k)))
CROSSREFS
Sequence in context: A046612 A254217 A211951 * A009425 A009416 A332477
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 11 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 10:38 EDT 2024. Contains 371791 sequences. (Running on oeis4.)