Unexpected results with bit shift

So the working code should be :

Serial.begin(112500);

  //unsigned long LongVar1;
  uint32_t LongVar1;
  for (byte s=0 ; s<24 ; s++)
  {
    Serial.print(" 1 << ");
    Serial.print(s);
    Serial.print(" => ");
    LongVar1 = 1UL << s;
    Serial.println(LongVar1,BIN);
   
  }