login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A038074 Shifts left and changes sign under Weigh transform. 2

%I #17 Mar 01 2021 06:08:26

%S 1,-1,1,0,-2,2,2,-6,4,8,-23,12,43,-95,28,223,-420,6,1194,-1860,-597,

%T 6405,-8235,-6221,34441,-35405,-48444,184208,-143567,-337144,976873,

%U -512835,-2207538,5112758,-1290534,-13896631,26279179,1478847,-84969584,131756101

%N Shifts left and changes sign under Weigh transform.

%H Alois P. Heinz, <a href="/A038074/b038074.txt">Table of n, a(n) for n = 1..1000</a>

%H N. J. A. Sloane, <a href="/transforms.txt">Transforms</a>

%p b:= proc(n, i) option remember; `if`(n=0, 1, `if`(i<1, 0,

%p add(binomial(a(i$2), j)*b(n-i*j, i-1), j=0..n/i)))

%p end:

%p a:= n-> `if`(n=1, 1, -b((n-1)$2)):

%p seq(a(n), n=1..60); # _Alois P. Heinz_, May 20 2013

%t b[n_, i_] := b[n, i] = If[n == 0, 1, If[i < 1, 0,

%t Sum[Binomial[a[i], j]*b[n - i*j, i - 1], {j, 0, n/i}]]];

%t a[n_] := If[n == 1, 1, -b[n - 1, n - 1]];

%t Array[a, 60] (* _Jean-François Alcover_, Mar 01 2021, after _Alois P. Heinz_ *)

%Y Cf. A038073.

%K sign,eigen

%O 1,5

%A _Christian G. Bower_, Jan 04 1999

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 11:39 EDT 2024. Contains 371969 sequences. (Running on oeis4.)