login
Positions where the parity of A179016 changes, i.e., where the runs of A213729 begin.
4

%I #10 Jul 16 2017 20:06:57

%S 0,1,3,4,5,6,8,9,11,12,13,14,16,18,22,23,25,27,30,31,33,34,35,38,39,

%T 40,42,44,47,48,50,51,52,56,58,59,65,67,69,70,72,74,77,78,80,81,82,86,

%U 88,89,95,97,98,99,101,102,108,111,114,119,121,122,123,124,126,128

%N Positions where the parity of A179016 changes, i.e., where the runs of A213729 begin.

%H Antti Karttunen, <a href="/A218784/b218784.txt">Table of n, a(n) for n = 0..8649</a>

%F a(0)=0 and in the later terms i occurs whenever A213729(i) differs from A213729(i-1).

%o (Scheme with _Antti Karttunen_'s intseq-library): (define A218784 (MATCHING-POS 0 0 (lambda (i) (or (< i 1) (not (= (A213729 i) (A213729 (-1+ i))))))))

%Y Cf. A213728, A213729, A218545, A218546, A218547. A218544(n)=a(n)+1.

%K nonn

%O 0,3

%A _Antti Karttunen_, Nov 10 2012