login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A218784
Positions where the parity of A179016 changes, i.e., where the runs of A213729 begin.
4
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, 40, 42, 44, 47, 48, 50, 51, 52, 56, 58, 59, 65, 67, 69, 70, 72, 74, 77, 78, 80, 81, 82, 86, 88, 89, 95, 97, 98, 99, 101, 102, 108, 111, 114, 119, 121, 122, 123, 124, 126, 128
OFFSET
0,3
LINKS
FORMULA
a(0)=0 and in the later terms i occurs whenever A213729(i) differs from A213729(i-1).
PROG
(Scheme with Antti Karttunen's intseq-library): (define A218784 (MATCHING-POS 0 0 (lambda (i) (or (< i 1) (not (= (A213729 i) (A213729 (-1+ i))))))))
CROSSREFS
Sequence in context: A353300 A219636 A047428 * A039066 A304800 A197911
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 10 2012
STATUS
approved