login
Positions in A213728 and A213729 where the next record length run starts.
4

%I #12 Sep 14 2016 15:10:22

%S 0,1,18,59,7814

%N Positions in A213728 and A213729 where the next record length run starts.

%C A218545(A218546(n)) gives the records (of run lengths), which for the first five cases are: 1, 2, 4, 6, 8.

%C A213729(a(n)) gives the parity of the n-th record run, which for the first case (n=1) is 0, and for the next four (n=2..5) is 1.

%F a(n) = A218784(A218546(n)-1).

%o (Scheme): (define (A218617 n) (A218784 (-1+ (A218546 n))))

%Y A218547(n) = a(n)+1.

%K nonn,more

%O 1,3

%A _Antti Karttunen_, Nov 11 2012