>>32 超遅レスだが。。。
#! /usr/bin/env ruby
i=0; s=t=10**((p=(ARGV[0]||75).to_i)+13)
s+=t/=i+=1 while t>0; puts s.to_s[0,p+1]