Let $f:R->R$ be defined by \begin{equation} f(x)= \left\{ \begin{array}{cc} [x] & \text{if} & x \quad \text{rational}\\\\ [x]+3 & \text{if} &x \quad \text{irrational}\\ \end{array} \right. \end{equation} where $[x]$ is the greatest integer less than or equal to $x$. (Example: $[0.5]=0$, $[2]=2$, $[-0.2]=-1$)
Prove that $f(x)$ is not continuous at any point. I know I have to use $Sn$ as a sequence and $C$ as an integer. The sequence I'm using is $Sn=C+\frac{(-1)^n}{n}$. Case 1 will be when $C$ is an integer and case 2 will be when $C$ is an arbitrary point. So far I have: Let $Sn$ be a sequence such that $lim Sn=C$ where $C$ is not an integer. Then $lim[Sn]=[C]$.
If your function is continous then:
$\forall \epsilon >0, \exists \delta > 0 : |x-a|<\delta \implies |f(x) - f(a)|<\epsilon$ must be true.
Let $\epsilon = \frac 12$
for all $x,$ and all $\delta>0$ there is both an irrational and a rational value for $a\in (x, x+\delta)$
And for one of those $|f(x) - f(a)| > \epsilon$
$f(x)$ is not continuous at any $x.$