----- | | | | ------------- | | | | | | | | -------------- | | | | | | | | -------------- | | | | ------

## Wednesday, January 18, 2012

### Set 1-8 in these 8 boxese such that consecutive numbers wont intersect vertically/horizontally or diagonally

### An ant moves on a regular grid of squares that are coloured either black or white. The ant is always oriented in one of the cardinal directions (left, right, up or down) and moves from square to adjacent square according to the following rules: - if it is on a black square, it flips the color of the square to white, rotates 90 degrees counterclockwise and moves forward one square. - if it is on a white square, it flips the color of the square to black, rotates 90 degrees clockwise and moves forward one square. Starting with a grid that is entirely white, how many squares are black after 10^18 moves of the ant?

Subscribe to:
Posts (Atom)