A problem of Littlewood