← Sprinklr questions
CodingHard

Numbers of length n with specific digit sums

Filed under Sprinklr

The question

Find numbers of length n having digits a and b whose sum of digits contains only digits a and b.

No write-up yet. Related questions below have one.

Related Sprinklr questions

Collected from public candidate posts and coding forums. Updated Nov 2026.