Given A.P.'s are
3,7,11,….,407 and
2,9,16.….709.\n\nSince, the given, A.P.s have common difference 4 and 7 respectively. So, first common term to both A.P.'s = 23\nNow, common difference of A.P.'s of common terms to given A.P's is L.C.M.
(4,7)=7×4=28\n\nLast term
≤407\n
\n\n\n⇒23+(n−1)×28≤407⇒(n−1)×28≤384⇒n≤14.71. So, n=14\n\n