algorithm
1...7891011...27