Example 8 Insert 6 numbers between 3 and 24 such that the resulting sequence is an A.P.