OFFSET
1,9
COMMENTS
After 100 million terms the smallest number not appearing is 381884, while the smallest sum of adjacent terms not appearing is 487833.
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..10000.
Brady Haran and N. J. A. Sloane, Don't Know (the Van Eck Sequence), Numberphile video (2019).
EXAMPLE
a(3) = 0 as a(1)+a(2) = 0+0 = 0, which has not previously appeared as the sum of two adjacent terms.
a(4) = 1 as a(2)+a(3) = 0+0 = 0, which equals the sum a(1)+a(2), one term back from a(3).
a(5) = 0 as a(3)+a(4) = 0+1 = 1, which has not previously appeared as the sum of two adjacent terms.
a(6) = 1 as a(4)+a(5) = 1+0 = 1, which equals the sum a(3)+a(4), one term back from a(5).
a(19) = 8 as a(17)+a(18) = 1+3 = 4, which equals the sum a(9)+a(10), eight terms back from a(18).
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Mar 11 2020
STATUS
approved