Calculate \(a_{12}\) and \(a_{5}\) whose \(n^{th}\) term is an=n2−1n+3;niseven,n∈Nn22n+1;nisodd,n∈N.
 
\(a_{12}\) \(=\) 14315
 
\(a_{5}\) \(=\) 2511
 
(Note: Enter the fractions without simplifying it)