0,1

Ivan Neretin, Table of n, a(n) for n = 0..10000

a(n) = A022424(n) - a(n-1) for n > 0.

a(3) = 6 because a(2) = 5, 6 <> a(0) + a(1) and 6 <> a(1) + a(2);

a(4) = 8 because a(3) = 6, 7 = a(0) + a(1), 8 <> a(0) + a(1), 8 <> a(1) + a(2) and 8 <> a(2) + a(3).

Complement of A022424. See A001651 for a(0) = 1 and A055562 for a(0) = 2.

Sequence in context: A288597 A297997 A136497 * A090161 A284746 A121540

Adjacent sequences: A055560 A055561 A055562 * A055564 A055565 A055566

nonn

Henry Bottomley, May 26 2000

approved