login
Distance from n to nearest Catalan number.
0

%I #9 Apr 02 2018 15:56:37

%S 0,0,1,1,0,1,2,3,4,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,13,12,

%T 11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,

%U 18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33

%N Distance from n to nearest Catalan number.

%Y Cf. A000108, A053188, A080732, A296239.

%K nonn

%O 1,7

%A _N. J. A. Sloane_, Mar 24 2018