how to convert an integer to binary in Arduino?

 if (a == '3')
   {
    converted = 0011;

Tell us about what you understand about octal notation