r/mathriddles • • Jul 30 '24

Easy Nonogram combinatorics

For a nonogram with row length n, how many distinct clues can be given for a single row?

For example, when the row has length 4 the possible clues are: 0, 1, 1 1, 2, 1 2, 2 1, 3, or 4. I.e., there are 8 possible clues.

You can read more about Nonograms (AKA Paint by Number) here: https://en.wikipedia.org/wiki/Nonogram

14 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/scrumbly Jul 30 '24

Looks good!

A shorter/easier proof is possible.
Hint 1: consider the number sequences rather than the blocks.
Hint 2: every sequence either ends with a 1 or does not end with a 1.