It seems you've stumbled into the Committee of Conundrums' Arithmetical Acrobatics department, but it looks like you've taken a wrong turn somewhere.
Don't worry, we've all been there. Even our team of highly-trained arithmetical acrobats get tangled in their own equations sometimes.