login
a(n) = A218784(n)+1.
5

%I #13 Nov 11 2012 13:44:23

%S 1,2,4,5,6,7,9,10,12,13,14,15,17,19,23,24,26,28,31,32,34,35,36,39,40,

%T 41,43,45,48,49,51,52,53,57,59,60,66,68,70,71,73,75,78,79,81,82,83,87,

%U 89,90,96,98,99,100,102,103,109,112,115,120,122,123,124,125

%N a(n) = A218784(n)+1.

%C These terms are one more than the positions where the infinite trunk of beanstalk (A179016) changes its branching direction, i.e. where its parity changes.

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

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

%o (Scheme): (define (A218544 n) (1+ (A218784 n)))

%Y Cf. A218545, A218546, A218617.

%K nonn

%O 0,2

%A _Antti Karttunen_, Nov 02 2012

%E Offset and definition changed because of the changed starting offset of A213729. - _Antti Karttunen_, Nov 11 2012