map{$c=-//;$_=$_&1?6*$_:$_+2>>2while$_>1&++$c<50;print$_>1?Infinity:$c,", $' "}1..$$
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page