arithmic sequence count