Hi Kevin,
It's a little hard to answer this question explicitly because there are so many variations of a "diatonic" layout.
But omitting the variations with accidentals, and leaving aside the duplicate 5th note of the scale (sol, for example, G note in the key of C) that is sometimes present on button #1 draw and also #2 press of a 10-button box, and leaving aside the gleichton in some systems, there's a simple answer:
When a row of buttons has only the notes of a diatonic major scale, and different notes on each button for press and draw, *and (as often but not always the case) when the 3 notes of the major triad are on the press and the other notes are on the draw,*
that makes 3 notes on the press (e.g. C, E, G for the key of C)
and leaves 4 notes on the draw (e.g. D, F, A, B for the key of C).
In the middle of the range, 4 buttons are enough to play a full octave with no gaps. But if you extend that "rule" lower or higher, the press notes extend their range of pitch faster than the draw notes, for example this layout for the C row of a 23 button C/C# box (press/draw):
C/F E/A G/B C/D E/F G/A C/B E/D G/F C/A E/B G/D
Note the press notes run: C, E, G, C, E, G, C, E, G, C, E, G
And the draw notes run: F, A, B, D, F, A, B, D, F, A, B, D
Both the lowest pitched and the highest pitched notes on that row will be on the press.
PG