N, (n + 1), (n + 2) - три последовательных целых числа
n^2 + (n + 1)^2 + (n + 2)^2 = 869
n^2 + n^2 + 2n + 1 + n^2 + 4n + 4 = 869
3n^2 + 6n - 864 = 0 /:3
n^2 + 2n - 288 = 0
D = 1 + 288 = 289
n1 = - 1 + 17 = 16
n2 = - 1 - 17 = - 18
Ответ
16, 17, 18
- 18, - 17, - 16