Komachi formula

F. Poyo (yoshi.tamori@gmail.com)


1-23+45+67-89=1

As you see in the above equation, an equation in which each number is aligned in the elegant order is called Komachi equation. "Komachi" equation is named after Ono-no-Komachi who was the most beautiful lady in ancient japan.

The question is how many solutions for

1.2.3.4.5.6.7.8.9=N
where "." are replaced with ones of {+,_,*,/,""} respectively.


Answer


Mathemusement

yoshi.tamori@gmail.com