Can you solve your problem by deriving a generalization from some examples?
[RECAST]
Copyright 2010 Peter D'Adamo (with a tip of the hat to George Pólya)