OFFSET
1,3
COMMENTS
Number of comparators used in Bose-Nelson networks.
Conjecture: partial sums of A087808. - Sean A. Irvine, Jul 14 2022
LINKS
R. C. Bose and R. J. Nelson, A sorting problem, J. Assoc. Comput. Mach. 9 (1962), 282-296.
P. J. Grabner and H.-K. Hwang, Digital sums and divide-and-conquer recurrences: Fourier expansions and absolute convergence, Constructive Approximation, Jan. 2005, Volume 21, Issue 2, pp 149-179.
PROG
(PARI) a(n)=if(n<2, 0, a(floor(n/2))+2*a(ceil(n/2))+floor(n/2))
(Magma) [n le 1 select 0 else Self(Floor(n/2)) + 2*Self(Ceiling(n/2)) + Floor(n/2): n in [1..60]]; // Vincenzo Librandi, Aug 30 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Aug 09 2003
STATUS
approved