Arithmetics of beta-expansions