Not exactly. You need to go back to cell 1 before closing the bracket.,[-<++>>+>+] i start by emptying cell 1, moving n to cells 2 and 3, at cell 30000 i'll have 2n to be used later for substraction
if you want to have:
- 0 on cell1
- n on cell 2 and 3
- 2n on cell 30000
[
-
<++
>>+
>+
<< # that's the part you're missing.
]
The rest of the reasoning looks legit up front but I have to read it closer.