echo "define f(x) { return f(x)^f(x) }; f(1)" | bc