Además, define S (a, b, c) =.
Por ejemplo, si a = 50, b = 2000 y c = 40, entonces F (0) = 3240 y F (2000) = 2040. También, S (50, 2000, 40) = 5204240.
Encuentra los últimos 9 dígitos de S (217, 721, 127).
euler340()
debe devolver 291504964.
testString: 'assert.strictEqual(euler340(), 291504964, "euler340()
should return 291504964.");'
```