Deductions & credits

Just to emphasize:  if the child doesn't live with you and does live with the mother and she doesn't give you written permission to claim the child then you cannot legally claim the child or children.