How about some golf?
($%%$_)||print$_.$/for 1..($%=shift) [download]
In reply to Re^2: Divisors for a number by hdb in thread Divisors for a number by rasy