Number of visits to origin

Sequence of steps

0

(3F-3B)(2F-1B-1F-2B)

1

(1F-1B-2F-2B)(2F-2B-1F-1B)

2

(1F-1B-1F-1B-1F-1B)