OFFSET
1,8
LINKS
Peter Kagey, Table of n, a(n) for n = 1..10000
Peter Kagey, Bitmap illustrating the parity of the first 2^22 terms. (Even and odd numbers are represented with black and white pixels respectively.)
FORMULA
Conjecture: a(2n-1) = A247976(n).
EXAMPLE
Spiral begins:
... 3---3---3---3---1
|
1---1---2---2---1 1
| | |
2 1---1---1 1 3
| | | | |
2 1 1---1 2 2
| | | |
1 1---2---1---1 3
| |
1---3---2---3---1---1
The last illustrated term above is a(35) = 3 = 2 + 1 because diagonally down-right is 2 and diagonally down-left is 1.
CROSSREFS
KEYWORD
nonn
AUTHOR
Alec Jones and Peter Kagey, May 09 2020
STATUS
approved