Number of solutions of +- 1 +- 2 +- ... +- (n-1) +- n = 0 in which the partial sums +- 1 +- ... +- k (1<=k<=n) are all distinct.

A015818

Number of solutions of +- 1 +- 2 +- ... +- (n-1) +- n = 0 in which the partial sums +- 1 +- ... +- k (1<=k<=n) are all distinct.

Terms

    a(0) =1a(1) =0a(2) =0a(3) =2a(4) =2a(5) =0a(6) =0a(7) =2a(8) =2a(9) =0a(10) =0a(11) =10a(12) =14a(13) =0a(14) =0a(15) =36a(16) =40a(17) =0a(18) =0a(19) =134a(20) =258a(21) =0a(22) =0a(23) =702a(24) =1040a(25) =0a(26) =0a(27) =4170a(28) =5996a(29) =0

External references