Cody

# Problem 2577. Sum of series III

Solution 1162272

Submitted on 13 Apr 2017 by H M Dipu Kabir
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
n = 1; s_correct = 1; assert(isequal(sumOfSeriesIII(n),s_correct))

2   Pass
n = 2; s_correct = 28; assert(isequal(sumOfSeriesIII(n),s_correct))

3   Pass
n = 5; s_correct = 1225; assert(isequal(sumOfSeriesIII(n),s_correct))

4   Pass
n = 10; s_correct = 19900; assert(isequal(sumOfSeriesIII(n),s_correct))

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
{"ft_lang_label":"__label__en","ft_lang_prob":0.5228736,"math_prob":0.9489668,"size":693,"snap":"2020-45-2020-50","text_gpt3_token_len":213,"char_repetition_ratio":0.1582003,"word_repetition_ratio":0.0,"special_character_ratio":0.3145743,"punctuation_ratio":0.16535433,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9926371,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-28T03:43:54Z\",\"WARC-Record-ID\":\"<urn:uuid:97a5e150-2ef1-472c-8261-a819885159b9>\",\"Content-Length\":\"80608\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e5270b59-6ba2-4f88-bb49-05fe222aa440>\",\"WARC-Concurrent-To\":\"<urn:uuid:6ad55d83-8703-47b8-9288-1cb86fd51f3b>\",\"WARC-IP-Address\":\"104.117.39.124\",\"WARC-Target-URI\":\"https://es.mathworks.com/matlabcentral/cody/problems/2577-sum-of-series-iii/solutions/1162272\",\"WARC-Payload-Digest\":\"sha1:74I6NZU3QZDXWRSQTXBYJBXT53ID25IJ\",\"WARC-Block-Digest\":\"sha1:AQ3Z2V6GBSIMQBBFSOXK7K3BJOYY564Z\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107896048.53_warc_CC-MAIN-20201028014458-20201028044458-00704.warc.gz\"}"}