注意,对于给定的ak集合,可能不是b的所有值都是可能的。例如,如果a1 = 5且a2 = 7,则没有q1≥0且q2≥0使得b可以是1,2,3,4,6,8,9,11,13,16,18或23 。
事实上,23是a1 = 5和a2 = 7的b的最大不可能值。因此,我们称f(5,7)= 23.同样,可以证明f(6,10,15)= 29和f(14,22,77)= 195。
找到Σf(p q,p r,q * r),其中p,q和r是素数,p <q <r <5000。
euler278()
应该返回1228215747273908500。
testString: 'assert.strictEqual(euler278(), 1228215747273908500, "euler278()
should return 1228215747273908500.");'
```