I'm doing an exercise in Hartshorne's Algebraic Geometry, Ex 9.5 in Chapter III, whose part (a) states the following:
Given an example to show that if $\{X_t\}$ is a flat family of closed subschemes of $\mathbb{P}^n$, then the projective cone $\{C(X_t)\}$ need not be a flat family in $\mathbb{P}^n$.
Since we can determine flatness by Hilbert polynomials. I want to use the dimension formula $dim((S_t/I_t)[x])_d = \sum_{i = 0}^{d}dim(S_t/I_t)_i$, to construct a family with same Hilbert polynomial but have different dimension in lower degrees.
This turned out to be some special example of flat but not very flat families related to the remaining part of this exercise, but I failed in finding such counter examples.