Let \(\{x\}\) and \([x]\) denote the fractional part of x and
the greatest integer \(\le x\) respectively of a real number x. If \(\int_0^n \{x\}\,dx\), \(\int_0^n [x]\,dx\) and \(10(n^2 - n)\), \((n \in N, n \gt 1)\) are three consecutive terms of a G.P., then n is equal to ______.