sort by best latest
I know this is probably your homework but the answer is (n!*4) - 5
This is assuming that your first integer is -1 (minus one)
Therefore if n = 6
= (6*4) + (5*4) + (4*4) + (3*4) + (2*4) + (1*4) - 5
Next time, you work it out.
You can help the HubPages community highlight top quality content by ranking this answer up or down.
Copyright © 2017 HubPages Inc. and respective owners. Other product and company names shown may be trademarks of their respective owners. HubPages® is a registered Service Mark of HubPages, Inc. HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.
Copyright © 2017 HubPages Inc. and respective owners.