Mathematical closed form solution: in this example, k=2, n=6.
f(n,k)=2[( n− k)( k−1)] =2[(4)(1)] = 8
Squirrel for the win!
ETA, Juni, this is neither a trivial or a simple problem. Kudos to your kid's math teacher!
__________________
per·son \ˈpər-sən\ (noun) - an ephemeral collection of small, irrational decisions
The fun thing about evolution (and science in general) is that it happens whether you believe in it or not.
|