Consider the three cyclic amides:
- $\beta$-lactam
- $\gamma$-lactam
- $\delta$-lactam
My question
What is the basic site (site of protonation) for these three lactams? And what should be their Brønsted basicity order?
My approach
If you consider $\ce{O}$ as the protonating site for the lactams ($\ce{O}$ can act as the basic site as the lone pair on $\ce{N}$ is delocalising with the carbonyl carbon, which increases electron density on $\ce{O}$, which helps to donate its lone pair to $\ce{H+}$, and after forming the conjugate acid, its resonance stabilisation is still there, which can be lost if it gets protonated through $\ce{N}$ (due to non availablity of lone pair). Delocalisation is not at all possible in $\beta$-lactams, due to huge angle strain. But $\delta$-lactam is the ideal situation for delocalisation which will increase the electron density on $\ce{O}$ atom, and hence will be the most basic due to the most availability of electron density of $\ce{O}$. So, basicity order will be $$\ce{\delta-lactam > \gamma-lactam > \beta-lactam (considering O as the protonating site)}$$
But if you consider N as the protonating site for these lactams, the delocalisation actually decreases the basicity, as delocalisation induces non-availability of electrons on $\ce{N}$ atom.
Going by this logic , basicity order should be, $$\ce{\beta-lactam > \gamma-lactam > \delta-lactam (considering N as protonating site)}$$
So, these two logics contradict each other and hence I am unable to decide the protonating sites for amides, as in some cases $\ce{N}$ is seen to be protonating site, and in some cases $\ce{O}$. Can anyone explain what should be the proper logic to deduce the Brønsted basicity of these lactams?