a(0)=0 and for n>0, a(n) is the smallest positive integer that cannot be derived by the adding or subtracting at most three terms with values in {a(0),...,a(n-1)} allowing repeats.

A096077

a(0)=0 and for n>0, a(n) is the smallest positive integer that cannot be derived by the adding or subtracting at most three terms with values in {a(0),...,a(n-1)} allowing repeats.

Terms

    a(0) =0a(1) =1a(2) =4a(3) =10a(4) =17a(5) =29a(6) =52a(7) =67a(8) =89a(9) =132a(10) =164a(11) =205a(12) =259a(13) =303a(14) =350a(15) =405a(16) =505a(17) =529a(18) =588a(19) =680a(20) =903a(21) =1016a(22) =1061a(23) =1248a(24) =1358a(25) =1445a(26) =1838a(27) =1878a(28) =2086a(29) =2117

External references