考虑从点(x1,y1)到点(x2,y2)的路径,仅使用北或东的单位步长。如果其中间点都不允许,我们可以称这样的路径是可以接受的。
令P(n)是从(0,0)到(n,n)的可允许路径的数量。可以证实P(5)= 252,P(16)= 596994440和P(1000)mod 1 000 000 007 = 341920854。
求P(10 000 000)mod 1 000 000 007。
euler408()
应该返回299742733。
testString: 'assert.strictEqual(euler408(), 299742733, "euler408()
should return 299742733.");'
```