3-convex functions and generalizations of an inequality of Hardy-Littlewood-Pólya - Khalid, Sadia (Array, 2013)