Quote Originally Posted by impulse View Post
This is really a good explanation thanks a lot.
With 1 > nominative singular form of the noun is used.
2-3-4 > genetive singular form of the noun is used.
5-6-7 and so on > genetive plural form of the noun is used.
Is that right or am I missing something?
Exactly! You got it right!
And then, more precisely:

Nominative Singular is used with 1 as well as with any number which ends in 1 (21, 31, ..., 91, 101, 121, ...) except those which end in 11 (since 11 is "одиннадцать" and it does not end in "один"): один стол, двадцать один стол, тридцать один стол, ..., девяность один стол, сто один стол, сто двадцать один стол...


Genitive Singular: 2, 3, 4, 22, 23, 24, 32, 33, 34, ..., 102, 103, 104, 122, 123, 124... (the exceptions are numbers ending in 12, 13, 14 since they do not end in "два", "три", "четыре"): два стола, три стола, четыре стола, двадцать два стола, тридцать три стола, сто четыре стола...

Genitive Plural: all other numbers
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26, ..., 100, 105, 106, ..., 110, 111, 112, 113, 114, 115, 116...:
пять столов, шесть столов, семь столов, восемь столов, девять столов, десять столов, одиннадцать столов, двенадцать столов, тринадцать столов, четырнадцать столов, пятнадцать столов, шестнадцать столов, семнадцать столов, восемнадцать столов, девятнадцать столов, двадцать столов, ..., сто столов, ..., тысяча столов, ... миллион столов.

The rule of the thumb is: check the very last word of a compound numeral. It governs the noun.