Given an alphabet $\Sigma:=\{a,b\}$, denote $\#_\sigma{(w)}$ the number of occurrences of a character $\sigma \in \Sigma$ in a word $w \in \Sigma^*$.
Define $L:=\{w \in \Sigma^* | \#_a{(w)} \leq \#_b{(w)} \leq 2\#_a{(w)} \}$. Is $L$ context-free?
I've tried constructing an appropriate PDA, but I'm not sure how to enforce both $\#_a{(w)} \leq \#_b{(w)}$ and $\#_b{(w)} \leq 2\#_a{(w)}$ simultaneously. Any clues?
I'll put this in spoiler blocks so it can be used as a sequence of hints.
CFGs 1:
CFGs 2:
PDAs 1:
PDAs 2:
PDAs 3:
PDAs 4:
PDAs 5: