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!)
A054601 a(n) = Sum_{d|n, d odd} d*2^(n/d - 1), a(0)=0. 4

%I #11 Mar 10 2021 09:26:39

%S 0,1,2,7,8,21,38,71,128,277,522,1035,2072,4109,8206,16467,32768,65553,

%T 131186,262163,524328,1048817,2097174,4194327,8388992,16777321,

%U 33554458,67109695,134217784,268435485,536872638,1073741855,2147483648

%N a(n) = Sum_{d|n, d odd} d*2^(n/d - 1), a(0)=0.

%H Seiichi Manyama, <a href="/A054601/b054601.txt">Table of n, a(n) for n = 0..1000</a>

%F G.f.: Sum_{k>0} (1-(-1)^k)/2*k*x^k/(1-2*x^k). - _Vladeta Jovovic_, Oct 17 2003

%o (PARI) a(n) = if (n, sumdiv(n, d, if (d%2, d*2^(n/d - 1))), 0); \\ _Michel Marcus_, Mar 10 2021

%Y Cf. A054598, A054599, A054600, A000016, A000031.

%K nonn

%O 0,3

%A _N. J. A. Sloane_, Apr 16 2000

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 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)