The function f(x) seems to return 1 for all inputs except for the multiples of 8, where it returns 0.

