Add files via upload

This commit is contained in:
Peter Norvig 2020-06-10 10:21:30 -07:00 committed by GitHub
parent 3832de98f4
commit e62d43350e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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$"
]
},
{