login
Characteristic function of A057166.
2

%I #8 Apr 05 2014 09:54:35

%S 0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,0,

%T 1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,

%U 0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1

%N Characteristic function of A057166.

%H <a href="/index/Rea#Recaman">Index entries for sequences related to Recamán's sequence</a>

%F a(n) = (1-A160357(n))/2 = 1-A076213(n-1).

%K nonn

%O 1,1

%A _M. F. Hasler_, Jun 03 2009