login
A230383
Lexicographically earliest sequence of distinct positive integers such that the first difference contains only distinct positive or negative squares.
3
1, 2, 6, 5, 14, 10, 26, 17, 42, 78, 29, 4, 53, 37, 101, 20, 120, 56, 137, 16, 160, 60, 24, 145, 314, 25, 221, 52, 277, 21, 310, 85, 341, 197, 521, 80, 441, 41, 482, 121, 605, 76, 476, 152, 681, 105, 730, 54, 630, 146, 822, 38, 767, 142, 926, 1767, 3, 903, 62
OFFSET
1,2
COMMENTS
Is this a permutation of the positive integers ?
Will every square show up in the first difference ?
EXAMPLE
n a(n) First difference
- ---- ----------------
1 1
+1^2
2 2
+2^2
3 6
-1^2
4 5
+3^2
5 14
-2^2
6 10
+4^2
7 26
...
PROG
(Perl) See Link section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul Tek, Oct 17 2013
STATUS
approved