login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A255708 No three points (i,a(i)), (j,a(j)), (k,a(k)) are collinear, for n = 0,1,2,... the value of a(n) is chosen to be m or -m (in this order) for the smallest m>=0 satisfying the condition. 3
0, 0, 1, 1, -1, -1, 4, 2, 2, -3, -5, -2, -7, -2, 5, 3, 3, -5, -4, -4, 6, 5, -6, -3, -10, 11, -6, 4, 18, 11, 19, 7, 12, 12, 6, -13, 19, 7, -10, -7, -9, -14, 13, 23, -28, -8, -14, 9, 8, -22, -9, -8, 23, -11, 15, 22, 13, 8, -21, -13, -26, 9, -12, -12, -11, 40, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,7

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..20000

MAPLE

a:= proc(n) option remember; local i, j, k, t, ok;

      for t from 0 do for k in [t, -t] do ok:=true;

        for j from n-1 to 1 by -1 while ok do

          for i from j-1 to 0 by -1 while ok do

            ok:= (n-j)*(a(j)-a(i))<>(j-i)*(k-a(j))

        od od; if ok then return k fi

      od od

    end:

seq(a(n), n=0..60);

CROSSREFS

Cf. A005836, A179040, A231334, A236266, A236335, A255709.

Sequence in context: A062072 A140395 A061505 * A197154 A275745 A053879

Adjacent sequences:  A255705 A255706 A255707 * A255709 A255710 A255711

KEYWORD

sign,look

AUTHOR

Alois P. Heinz, Mar 03 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 17 04:09 EDT 2019. Contains 328106 sequences. (Running on oeis4.)