A generating functionology approach to a problem of Wilf