login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A218784 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)