1 + 3 + .. + 2n - 1 = n²
2n - 1 = 2015 => 2n = 2016 => n = 1008
1 + 3 + .. + 2015 = 1008² = 4x²
=> x² = 1008·1008/2·2 = 504·504
=> x = 504