Add files via upload
This commit is contained in:
parent
3832de98f4
commit
e62d43350e
@ -1026,8 +1026,8 @@
|
||||
"source": [
|
||||
"So we can say the complete set of valid number of coconuts for a given number of pirates *p* is:\n",
|
||||
" \n",
|
||||
"- $(p - 1) × (p^p - 1) + k × p^{p+1}$ when $p$ is even, for any nonnegative integer $k$\n",
|
||||
"- $p^p - p + 1 + k × p^{p+1}$ when $p$ is odd, for any nonnegative integer $k$"
|
||||
"- $(p - 1) \\times (p^p - 1) + k \\times p^{p+1}$ when $p$ is even, for any nonnegative integer $k$\n",
|
||||
"- $p^p - p + 1 + k \\times p^{p+1}$ when $p$ is odd, for any nonnegative integer $k$"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user