0

Verify a ballot triangle code-golf
A ballot number, which we'll label B, is the number of ways of arranging the numbers from 1 through B(B+1)/2 into a triangle, such that each row and column
of the triangle is in any increasing order. The first four ballot numbers are:
a(0) = 1
a(1) = 1
a(2) =...