Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 Online
OpenStudy (anonymous):

Can anyone show me their Diophantine solution? I'm having a lot of trouble with it.

OpenStudy (anonymous):

your trying to solve this: 6a + 9b + 20c = n. you have to try different combinations of a, b and c to see which combinations can make n. if n = 100 you could try something like: c = 0 to 20 b = 0 to 20 a = 0 to 20 then plug the a's, b's and c's into the equation read thru this in the Tutorial: http://docs.python.org/tutorial/controlflow.html#more-control-flow-tools

OpenStudy (anonymous):

Thanks so much!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!