login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Alois P. Heinz, Table of n, a(n) for n = 0..10000

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

Cf. A033156, A340257, A340301.

Sequence in context: A312820 A312821 A312822 * A053688 A036302 A032377

Adjacent sequences:  A340295 A340296 A340297 * A340299 A340300 A340301

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 19 21:32 EDT 2021. Contains 345151 sequences. (Running on oeis4.)