Letbe the set of real rational numbers.
is countable and dense in
so the set of real numbers with the usual topology is seperable (take
and
in
with
Then
and
and
).
Letbe the discrete topology on
Every subset of
with this topology is both open and closed. The only dense subset of
is
itself, but
is not countable, hence
with the discrete metric is not seperable.