Can I deduct IRA contributions?

I was making IRA contributions in January to September 2016.  Stopped making contributions in October and started contributing to a 401k in October.  Can I deduct the IRA contributions when I didn't have a 401k?