# Math Help - analysis problem

1. ## analysis problem

Let f:[0,1] -> [0,1] be defined as follows:
f(x)=1/n if x=m/n where n,m are integers, n is not zero, and m/n is irreducible.
f(x)= 0 if x is irrational.
Prove that f(x) is Riemann integrable on [0,1]

2. Originally Posted by Kat-M
Let f:[0,1] -> [0,1] be defined as follows:
f(x)=1/n if x=m/n where n,m are integers, n is not zero, and m/n is irreducible.
f(x)= 0 if x is irrational.
Prove that f(x) is Riemann integrable on [0,1]