This blog has moved to www.mscroggs.co.uk.

Monday, 25 August 2014

Sunday Afternoon Maths XXVI Answers & Extensions

This post contains the answers to this week's Sunday Afternoon Maths and some extension problems based around the originals.

Twenty-One

Virgil should go second. Whatever Scott adds, Virgil should then add to make four. For example, if Scott says 3, Virgil should say 1.
Using this strategy, Virgil will say 4, 8, 12, 16 then 20, forcing Scott to go above 21.
Extension
(i) If instead of 21, 22 cannot be said/beaten, how should Virgil win? How about 23? Or 24? How about \(n\)?
(ii) If instead of adding 1 to 3, 1 to 4 can be added, how should Virgil win? How about 1 to 5? Or 2 to 5? How about \(m\) to \(l\)?
(iii) Alan wants to join the game. Can Virgil win if there are three people? Can he win if there are \(k\) people?

Odd and Even Outputs

\(n\)
oddeven
\(m\)oddoddodd
eoddodd
\(g(n,m)=1\)

\(n\)
oddeven
\(m\)oddoddodd
eoddeven
\(g(n,m)=n\times m + n + m\)

\(n\)
oddeven
\(m\)oddoddodd
eevenodd
\(g(n,m)=n\times m +n+1\)

\(n\)
oddeven
\(m\)oddoddodd
eeveneven
\(g(n,m)=m\)
\(n\)
oddeven
\(m\)oddoddeven
eoddodd
\(g(n,m)=n\times m+m+1\)

\(n\)
oddeven
\(m\)oddoddeven
eoddeven
\(g(n,m)=n\)

\(n\)
oddeven
\(m\)oddoddeven
eevenodd
\(g(n,m)=n+m+1\)

\(n\)
oddeven
\(m\)oddoddeven
eeveneven
\(g(n,m)=n\times m\)
\(n\)
oddeven
\(m\)oddevenodd
eoddodd
\(g(n,m)=n\times m+1\)

\(n\)
oddeven
\(m\)oddevenodd
eoddeven
\(g(n,m)=n+m\)

\(n\)
oddeven
\(m\)oddevenodd
eevenodd
\(g(n,m)=n+1\)

\(n\)
oddeven
\(m\)oddevenodd
eeveneven
\(g(n,m)=n\times m+n\)
\(n\)
oddeven
\(m\)oddeveneven
eoddodd
\(g(n,m)=m+1\)

\(n\)
oddeven
\(m\)oddeveneven
eoddeven
\(g(n,m)=n\times m+n\)

\(n\)
oddeven
\(m\)oddeveneven
eevenodd
\(g(n,m)=n\times m+n+m+1\)

\(n\)
oddeven
\(m\)oddeveneven
eeveneven
\(g(n,m)=2\)
Extension
Can you find functions \(h:\mathbb{N}\times\mathbb{N}\times\mathbb{N}\rightarrow\mathbb{N}\) (call the inputs \(n\), \(m\) and \(l\)) to give the following outputs:
\(l\) odd
\(n\)
oddeven
\(m\)oddeveneven
eeveneven
\(l\) even
\(n\)
oddeven
\(m\)oddeveneven
eeveneven

\(l\) odd
\(n\)
oddeven
\(m\)oddeveneven
eeveneven
\(l\) even
\(n\)
oddeven
\(m\)oddeveneven
eevenodd

etc

No comments:

Post a Comment