I would like to know if this language is context-free:
$$(a^ib^jc^k \mid i=k-j, i>0, k>0, j>0)$$
I believe that it fulfils the pumping lemma (if $v=b^n$ and $x = c^n$, which would add the same amount of $b$'s and $c$'s every pump, thus keeping the condition fulfilled) but I can't find a way to write a context-free grammar to generate it. Is it really context-free? Or am I missing something here?
$$ S \rightarrow aS_1c,$$ $$ S_1 \rightarrow aS_1c | B,$$ $$ B \rightarrow bBc | bc.$$
Should work, I think.