trying recursive approach to define sequences