_==0 "exec" "gawk" "-f" "$0" function f(n, i) { for (i=3;i<=int(sqrt(n));i++) if (n%i==0) return i return n==4?4:(n%2==0?n/2:n) } { print f($0) }