%I #10 May 09 2019 07:00:27
%S 0,1,1,1,1,1,1,1,2,2,3,4,5,7,10,14,20,28,40,58,84,121,176,257,376,552,
%T 812,1196,1767,2615,3877,5757,8562,12751,19018,28400,42461,63554,
%U 95234,142845,214473,322310,484793,729797,1099509,1657761,2501299,3776681
%N Sequence shifts left five places under Weigh transform with a(n) = signum(n) for n<5.
%H Alois P. Heinz, <a href="/A316077/b316077.txt">Table of n, a(n) for n = 0..2000</a>
%F G.f.: x + x^2 + x^3 + x^4 + x^5 * Product_{n>=1} (1 + x^n)^a(n). - _Ilya Gutkovskiy_, May 09 2019
%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,
%p add(binomial(a(i), j)*b(n-i*j, i-1), j=0..n/i)))
%p end:
%p a:= n-> (k-> `if`(n<k, signum(n), b(n-k$2)))(5):
%p seq(a(n), n=0..47);
%Y Column k=5 of A316074.
%Y Cf. A057427, A218022.
%K nonn,eigen
%O 0,9
%A _Alois P. Heinz_, Jun 23 2018