Function to check if the number N can be represented as the product of two perfect cubes or not
function productOfTwoPerfectCubes ( N ) { var cube_root ; cube_root = Math . round ( Math . cbrt ( N ) ) ;