a(n) is the number of ways of placing '+' and '-' among the digits 123456789 so that the result of the expression is n, '-' before 1 not allowed.

A066956

a(n) is the number of ways of placing '+' and '-' among the digits 123456789 so that the result of the expression is n, '-' before 1 not allowed.

Terms

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

External references