Coding challenge

Write some code that starts with two integers $a$ and $b$. Double one, then add $1$ to the other, giving two new integers. Repeat this on your two new integers. Do you always end up with two equal integers for any $a$ and $b$? (Ans: yes.)

Type your code here:


Lua reference

See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: