This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A168445 #27 Dec 14 2024 05:26:39 %S A168445 1,2,4,6,11,18,31,52,91,155,268,464,802,1390,2411,4178,7249,12578, %T A168445 21823,37870,65724,114061,197960,343578,596317,1034983,1796359, %U A168445 3117837,5411478,9392460,16302081,28294850,49110242,85238716,147945552,256783448,445689300 %N A168445 Number of compositions a(1),...,a(k) of n, for some k, such that a(i+1) <= a(i) + 1 for 1 <= i < k and a(1) <= a(k) + 1. %D A168445 Steven R. Finch, Mathematical Constants, Cambridge, 2003, p. 381. %H A168445 Alois P. Heinz, <a href="/A168445/b168445.txt">Table of n, a(n) for n = 1..400</a> %F A168445 a(n) ~ c / r^n, where r = A347901 = 0.576148769142756602297868573719938782354724663118974... is the lowest root of the equation Sum_{k>=0} (-1)^k * r^(k^2) / QPochhammer(r, r, k) = 0 and c = 0.6149126319329581124890112676009720339906790088212712130894... - _Vaclav Kotesovec_, May 01 2014, updated Sep 09 2020 %p A168445 b:= proc(n,r,f) option remember; `if`(n=0, `if`(f-1<=r, 1, 0), %p A168445 add(b(n-i, i, f), i=1..min(r+1, n))) %p A168445 end: %p A168445 a:= n-> add(b(n-i, i, i), i=1..n): %p A168445 seq(a(n), n=1..40); # _Alois P. Heinz_, Dec 15 2009 %t A168445 b[n_, r_, f_] := b[n, r, f] = If[n == 0, If[f - 1 <= r, 1, 0], Sum[b[n - i, i, f], {i, 1, Min [r + 1, n]}]]; %t A168445 a[n_] := Sum[b[n - i, i, i], {i, 1, n}]; %t A168445 Array[a, 40] (* _Jean-François Alcover_, Nov 10 2020, after _Alois P. Heinz_ *) %Y A168445 Cf. A003116, A005169. %K A168445 nonn %O A168445 1,2 %A A168445 _Vladeta Jovovic_, Nov 25 2009 %E A168445 More terms from _Alois P. Heinz_, Dec 15 2009