OFFSET
1,2
COMMENTS
LINKS
Peter Kagey, Table of n, a(n) for n = 1..5000
Code Golf Stack Exchange, What can you see on a hexagonal spiral?
Emily Chitwood, Example of cell sight
Emily Chitwood, Example of spiral path
Emily Chitwood, Example of initial terms
Peter Kagey, An animated illustration of the first fifteen terms.
EXAMPLE
a(3) = 3 because the third hexagon is on the same diagonal as itself, the second hexagon, and the original hexagon.
a(7) = 5 because the 7th cell is on the same columns/diagonals as cells No. 2 (in one direction), 6 (in another direction), 1 and 4 (in the third direction), plus itself.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Emily Chitwood and Kimberly Johnsen, Feb 26 2018
STATUS
approved