login
A285200 displayed as an irregular triangle read by rows.
2

%I #13 May 03 2017 17:33:47

%S 1,1,2,1,1,2,3,2,1,1,2,3,2,1,1,2,3,4,3,2,1,1,2,3,2,1,1,2,3,4,3,2,1,1,

%T 2,3,2,1,1,2,3,4,3,2,1,1,2,3,2,1,1,2,3,4,5,4,3,2,1,1,2,3,2,1,1,2,3,4,

%U 3,2,1,1,2,3,2,1,1,2,3,4,3,2,1,1,2,3,2,1,1,2,3,4,5,4,3,2,1

%N A285200 displayed as an irregular triangle read by rows.

%C This is Ken Knowlton's elevator sequence A285200, but with an extra 1 each time the elevator returns to (or starts at) the first floor.

%C Row lengths are A285204. The row maxima are given in A285203 (for n>0).

%e Triangle begins:

%e 1,

%e 1, 2, 1,

%e 1, 2, 3, 2, 1,

%e 1, 2, 3, 2, 1,

%e 1, 2, 3, 4, 3, 2, 1,

%e 1, 2, 3, 2, 1,

%e 1, 2, 3, 4, 3, 2, 1,

%e 1, 2, 3, 2, 1,

%e 1, 2, 3, 4, 3, 2, 1,

%e 1, 2, 3, 2, 1,

%e 1, 2, 3, 4, 5, 4, 3, 2, 1,

%e ...

%Y Cf. A285200, A285201, A285203, A285204.

%K nonn,tabf

%O 0,3

%A _N. J. A. Sloane_, May 03 2017