MathDB
ant moving 1N, 2E, 3S, 3W, 5N, 6E, ...,41N (2020 May Olympiad L1 P3)

Source:

February 16, 2021
geometrydistance

Problem Statement

A clueless ant makes the following route: starting at point A A goes 1 1 cm north, then 2 2 cm east, then 3 3 cm south, then 4 4 cm west, immediately 5 5 cm north, continues 6 6 cm east, and so on, finally 41 41 cm north and ends in point B B . Calculate the distance between A A and B B (in a straight line).