public static void calculatePopulation(final int pPopulation) { 
        System.out.println("Calculating for a population of " + pPopulation); 
        for (int x = 1; pPopulation/Math.pow(2, x) > 1; x++) { 
            System.out.println("Level " + x + " = " + 
                    ((int) (pPopulation/Math.pow(2, x)))); 
        } 
    }