|
(1)
|
Losanitsch's triangle (OEIS A034851) is a number triangle with rows numbered by , 1, 2, ... and entries in each row numbered by
, 1, 2, ...,
. Starting with
and taking
outside
, its entries satisfy the recurrence
equation
|
(2)
|
for ,
where
is a binomial coefficient.
For ,
can be written in closed form as
|
(3)
|
where
is the floor function.
The plot above shows the binary representations for the first 255 (top figure) and 511 (bottom figure) terms of a flattened Losanitsch's triangle.
The row sums of Losanitsch's triangle are
|
(4)
|
for ,
where
is the ceiling function. Including the row sum
1 for
,
the first few sums are 1, 2, 3, 6, 10, 20, 36, ... (OEIS A005418).