Elementary Math Fractions, Percentages, Word Problems, Equations, Inequations, Factorization, Expansion

 June 6th, 2018, 12:24 PM #2 Newbie   Joined: Feb 2018 From: California Posts: 17 Thanks: 1 Actually, I think I have something. Correct me if I'm mistaken.... does it have to do with mod math? So if let's say the goal is to say 22 and you can only count by 1, 2, 3, or 4, you need to always say a number with remainder 2 when you divide it by 5, so you'd have to say 7, 12, then 17, then win. So you divide by 5 in this example because you can only count up to 4. Does this make sense?
 June 7th, 2018, 12:27 AM #3 Senior Member   Joined: Apr 2014 From: UK Posts: 892 Thanks: 328 It looks like you've solved it to me. You could formalise this: n= final target m= maximum increment allowed (4 in the example) r= remainder of n / (m + 1) x= any number (will want to start at 0 or 1 and increment by 1 on your turn until the target is reached) step targets are then (m+1)x + r If r is 0 then the first player (who starts at 0) wins, otherwise the second player wins.
 June 7th, 2018, 01:06 PM #4 Newbie   Joined: Feb 2018 From: California Posts: 17 Thanks: 1 Awesome! Thank you!

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post Monox D. I-Fly Elementary Math 3 May 14th, 2018 11:48 PM krishanu05 Math 1 June 26th, 2014 11:15 AM gelatine1 Computer Science 1 April 29th, 2014 01:44 PM 1Reebok Elementary Math 5 October 9th, 2012 06:01 PM tinynerdi Real Analysis 5 January 10th, 2011 12:51 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top