Can you please tell me if I remember correctly that the use of 'an' rather than 'a' is used in sentences such as I went to an hotel last night.