public class MbiusFunction {

    public static void main(String[] args) {
        System.out.printf("First 199 terms of the mbius function are as follows:%n    ");
        for ( int n = 1 ; n < 200 ; n++ ) {
            System.out.printf("%2d  ", mbiusFunction(n));
            if ( (n+1) % 20 == 0 ) {
                System.out.printf("%n");
            }
        }
    }

    private static int MU_MAX = 1_000_000;
    private static int[] MU = null;