@@ -0,0 +1,438 @@
+package com.matao.fundamentals.exercises;%0A%0Aimport edu.princeton.cs.algs4.StdOut;%0A%0A/**%0A * Created by matao on 2018/8/21.%0A * %3Cp%3E%0A * Give the value of exR1(6)%0A * 311361142246%0A */%0Apublic class Ex_1_1_16 %7B%0A    public static String exR1(int n) %7B%0A        if (n %3C= 0) return %22%22;%0A        return exR1(n - 3) + n + exR1(n - 2) + n;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        StdOut.println(exR1(6));%0A        // 311361142246%0A    %7D%0A%7D%0A

add solution to exercise 1.1.16