Rating:

# KEEP WALKING


This is a challenge to test your basic programming skills.

Pseudo code:

Set X = 1

Set Y = 1

After that => X + 1 and Y + 1 ('answer' becomes 'previous answer') and repeat this till you have X = 525.

The final answer is the value of 'answer' when X = 525. Fill it in below.

Example:

5 = 1 * 1 + 1 + 3

12 = 2 * 2 + 5 + 3

24 = 3 * 3 + 12 + 3

........................

........................


Here a simple python code do the trick

python
prev = 1
for XY in range(1,526):
curr = XY*XY + prev + 3
prev = curr
print('brixelCTF{'+str(curr)+'}')


Response :

brixelCTF{48373851}


flag : brixelCTF{48373851}

Original writeup (https://github.com/Pynard/writeups/blob/main/2020/BRIXEL/challenges/keep_walking.md).