Number of compositions of n such that the first part is 1 and the second differences of the parts are in {-2,...,2}.
A239552
Number of compositions of n such that the first part is 1 and the second differences of the parts are in {-2,...,2}.
Terms
- a(0) =1a(1) =1a(2) =1a(3) =2a(4) =4a(5) =7a(6) =11a(7) =18a(8) =32a(9) =53a(10) =89a(11) =152a(12) =255a(13) =431a(14) =733a(15) =1243a(16) =2111a(17) =3583a(18) =6087a(19) =10342a(20) =17564a(21) =29845a(22) =50704a(23) =86150a(24) =146382a(25) =248716a(26) =422618a(27) =718091a(28) =1220156a(29) =2073272
External references
- oeis: A239552