# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a080240 Showing 1-1 of 1 %I A080240 #15 Mar 10 2015 04:41:31 %S A080240 0,1,2,4,5,6,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26,28, %T A080240 29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51, %U A080240 52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76 %N A080240 Define two sequences by A_n = mex{A_i,B_i : 0 <= i < n} for n >= 0, B_0=0, B_1=1 and for n >= 2, B_n = 2B_{n-1}+(-1)^{A_n}. Sequence gives A_n. %C A080240 The minimal excluded value of set of nonnegative numbers S is mex S = least nonnegative integer not in S. %C A080240 The sequence B_n is given in A080241. %H A080240 A. S. Fraenkel, Home Page %H A080240 A. S. Fraenkel, New games related to old and new sequences, INTEGERS, Electronic J. of Combinatorial Number Theory, Vol. 4, Paper G6, 2004. %Y A080240 Cf. A080241. %K A080240 nonn %O A080240 0,3 %A A080240 _Aviezri S. Fraenkel_, Mar 12 2003 %E A080240 More terms from _Emeric Deutsch_, Apr 13 2005 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE