f = ->n{(10*9.1**(n/23.0)).round + n/10 - n/17 - n/20 - n/22 + n/23}24.times{|i| p f[i]}
Standard input is empty
10 11 12 13 15 16 18 20 22 24 27 30 33 36 39 43 47 51 56 62 68 75 82 91
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!