Yes, this is correct if all of the pension and annuity payments are fully taxable.
This is IRS instruction for line 5a:
"If your pension or annuity is fully taxable, enter the total pension or annuity payments (from Form(s) 1099-R, box 1) on line 5b; don’t make an entry on line 5a."
Follow this link to see the full instructions for 1040.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"