A230383 Lexicographically earliest sequence of distinct positive integers such that the first difference contains only distinct positive or negative squares.
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
Keywords
Examples
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 ...
Links
- Paul Tek, Table of n, a(n) for n = 1..10000
- Paul Tek, Perl program for this sequence
Programs
-
Perl
See Link section.
Comments