Defina o enésimo bit

number |=  (1 << n);
CertainBadProgrammer