login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A333835
Lexicographically earliest sequence of distinct positive integers, which when mapped onto a square spiral, gives a set without three distinct evenly spaced aligned points.
2
1, 2, 3, 4, 17, 18, 20, 21, 22, 24, 27, 28, 31, 33, 34, 61, 80, 81, 87, 90, 93, 100, 131, 135, 145, 146, 148, 152, 154, 157, 158, 160, 166, 171, 172, 174, 189, 194, 225, 253, 268, 270, 271, 276, 281, 282, 291, 294, 295, 298, 316, 335, 338, 368, 383, 397, 405
OFFSET
1,2
COMMENTS
This sequence has similarities with A005836 and A229037.
EXAMPLE
The first terms, mapped onto a square spiral, are:
*---*---*---*--61---*---*---*---*
| |
* *---*---*--34--33---*--31 *
| | | |
* * 17---*---*---*---* * *
| | | | | |
* * 18 *---4---3 * * *
| | | | | | | |
* * * * 1---2 * 28 *
| | | | | | |
* * 20 *---*---*---* 27 *
| | | | |
* * 21--22---*--24---*---* *
| | |
* *---*---*---*---*---*---*---*
|
*---*---*---*---*---*---*--80--81
PROG
(C#) See Links section.
CROSSREFS
See A333825 for a similar sequences.
Sequence in context: A343494 A300855 A353164 * A178683 A111191 A333825
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 07 2020
STATUS
approved