The man allegedly had a “pattern” of misrepresenting his age in online communications with children, police said.