A066957 a(n) = number of ways of placing '+' and '-' among the digits 123456789 so that the result of the expression is n, '-' before 1 IS allowed.
22, 43, 18, 41, 18, 40, 24, 39, 18, 46, 17, 38, 27, 38, 24, 43, 18, 39, 23, 37, 23, 43, 25, 36, 32, 36, 25, 44, 25, 35, 34, 31, 26, 37, 24, 35, 32, 32, 27, 37, 31, 26, 34, 34, 29, 42, 27, 27, 35, 26, 28, 35, 29, 33, 30, 26, 23, 29, 32, 25, 33, 30, 24, 34, 22, 26, 32, 30, 25
Offset: 0
Links
- R. Zumkeller, Table of n, a(n) for n = 0..10000
- R. Zumkeller, Illustration of initial terms
Crossrefs
Cf. A066956.
Comments