Além disso, defina S (a, b, c) =.
Por exemplo, se a = 50, b = 2000 e c = 40, então F (0) = 3240 e F (2000) = 2040. Também, S (50, 2000, 40) = 5204240.
Encontre os últimos 9 dígitos de S (217, 721, 127).
euler340()
deve retornar 291504964.
testString: 'assert.strictEqual(euler340(), 291504964, "euler340()
should return 291504964.");'
```