Uh oh! Wolfram|Alpha doesn't run without JavaScript.
Please enable JavaScript. If you don't know how, you can find instructions
here
.
Once you've done that, refresh this page to start using Wolfram|Alpha.
n
c
>
g
>
0
,
c
*
g
<
n
+
n
*
g
,
c
>
0
,
n
>
0
Math Input
Natural Language
Math Input