login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Number of compositions of n where the difference between largest and smallest parts equals two.
2

%I #7 Jan 07 2019 13:28:00

%S 0,0,2,3,12,20,49,95,188,366,714,1347,2565,4851,9121,17082,31960,

%T 59637,111065,206485,383411,711109,1317528,2438838,4510987,8338099,

%U 15403007,28439107,52483921,96819153,178542957,329146111,606618210,1117730709,2059048379

%N Number of compositions of n where the difference between largest and smallest parts equals two.

%H Alois P. Heinz, <a href="/A323119/b323119.txt">Table of n, a(n) for n = 2..3779</a>

%F a(n) ~ c * d^n, where d = A058265 = 1.8392867552141611325518525646532866... is the real root of the equation d^3 - d^2 - d - 1 = 0 and c = 0.618419922319392550945330438071061626105588310617942936855358363357952137... is the real root of the equation 44*c^3 - 44*c^2 + 12*c - 1 = 0. - _Vaclav Kotesovec_, Jan 07 2019

%Y Column k=2 of A214258.

%K nonn

%O 2,3

%A _Alois P. Heinz_, Jan 05 2019