You are viewing a single comment's thread. Return to all comments →
There is a closed-form expression for the pentagonal numbers. You can do this using DP, but it's totally unnecessary.
Seems like cookies are disabled on this browser, please enable them to open this website
Pentagonal Numbers
You are viewing a single comment's thread. Return to all comments →
There is a closed-form expression for the pentagonal numbers. You can do this using DP, but it's totally unnecessary.