Identify arithmetic or geometric from recurrence (#436)