Can you show that
is the sum of two periodic functions?
Proof:
By the Axiom of Choice, there exists a subset 𝑆 of ℝ that contains exactly one element from each coset of ℤ+√2ℤ .
For each 𝑥∈ℝ there exist unique elements 𝑠ₓ∈𝑆 and 𝑚ₓ,𝑛ₓ∈ℤ so that 𝑥=𝑠ₓ+𝑚ₓ+𝑛ₓ√2 .
Define 𝑔(𝑥)=𝑚ₓ and
Then 𝑓(𝑥)=𝑔(𝑥)+h(𝑥) , 𝑔(𝑥) has period
@davidradcliffe If the two periods are rationally related then the sum has to be periodic as well, so that wouldn't work...
Let's check that
$$ g(x) + h(x) = \lfloor x \rfloor $$
By definition
$$ g(x) + h(x) = m_x + \lfloor s_x + n_x \sqrt{2} \rfloor $$
but you can push an integer inside the floor function so
$$ g(x) + h(x) = \lfloor m_x + s_x + n_x \sqrt{2} \rfloor =\lfloor x \rfloor $$
If I understand correctly,
Fun to observe that your proof only relies on irrationality of the square root of 2, and any irrational number works in its place.