cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A327887 Infinite sequence of signed integers where each is chosen to be as small as possible (in absolute value) subject to the condition that for every k >= 1, all the k(k+1)/2 numbers in the triangle of differences of the first k terms are distinct; in case of a tie, preference is given to the positive value.

Original entry on oeis.org

1, -1, 2, -3, 4, -6, 8, -4, 6, -9, 16, -7, 19, -11, 17, -14, 9, -28, 11, -16, 13, -20, 15, -19, 18, -18, 27, -24, 31, -21, 30, -35, 38, -32, 21, -46, 32, -22, 44, -40, 34, -38, 46, -39, 36, -41, 47, -43, 42, -44, 43, -55, 50, -42, 52, -45, 57, -53, 62, -57, 59
Offset: 1

Views

Author

Rémy Sigrist, Sep 29 2019

Keywords

Comments

This sequence is a signed variant of A327460.

Examples

			The difference table for the first 8 terms is:
     1    -1     2   -3    4   -6    8  -4 ...
       -2     3    -5    7  -10   14  -12 ...
           5    -8    12  -17   24  -26 ...
            -13    20   -29   41  -50 ...
                33   -49    70  -91 ...
                  -82   119  -161 ...
                     201  -280 ...
                       -481 ...
                          ...
		

Crossrefs

Cf. A327460.

Formula

Apparently, abs(a(n)) ~ n as n tends to infinity.