algorithm
1...678910...27