DCS.F.1: Apply recursively-defined relationships to solve problems.