The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A340298 a(n) = a(floor(n/2)) + a(ceiling(n/2)) + n*floor(log_2(n)) for n >= 2, a(n) = n for n <= 1. 2
0, 1, 4, 8, 16, 22, 28, 38, 56, 65, 74, 83, 92, 105, 118, 139, 176, 189, 202, 215, 228, 241, 254, 267, 280, 297, 314, 331, 348, 373, 398, 439, 512, 530, 548, 566, 584, 602, 620, 638, 656, 674, 692, 710, 728, 746, 764, 782, 800, 822, 844, 866, 888, 910, 932, 954 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(2^n) = A340257(n).
MAPLE
a:= proc(n) option remember; `if`(n<2, n, (h->
a(h)+a(n-h)+n*ilog2(n))(iquo(n, 2)))
end:
seq(a(n), n=0..55);
CROSSREFS
Sequence in context: A312820 A312821 A312822 * A053688 A036302 A032377
KEYWORD
nonn,look
AUTHOR
Alois P. Heinz, Jan 03 2021
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 May 19 11:03 EDT 2024. Contains 372683 sequences. (Running on oeis4.)