The numbers from 1 through 27 are displayed below in three rows of nine numbers each. Select one of those numbers and reply truthfully to three computer queries. Keep your eyes open. Computer will reveal your number

Instead of the playing cards, computer displays 27 numbers. Other than that, the procedure is very much the same, but with one exception. Since you are only asked to select a row, the order of numbers in that row is of no consequence. However, for computer it is a fairly simple task to reshuffle numbers in every row. This makes the trick to appear a little more complicated than it really is.

[Rouse Ball, p. 328-329] mentions that in 1813-1814 J. D. Gergonne proved a generalization that dealt with N^{N} cards arranged in N rows of N^{N-1} cards each. It is always possible to combine rows in such a manner that after N replies the selected card will appear in any desired spot, not necessarily in the middle of the mid row.