Cody

# Problem 232. Project Euler: Problem 2, Sum of even Fibonacci

Solution 2865419

Submitted on 21 Aug 2020 by Ebrahim Mahmoud
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
x =4000000 y_correct = 4613732; assert(isequal(euler002(x),y_correct))

x = 4000000

2   Pass
x =97455000 y_correct = 82790070; assert(isequal(euler002(x),y_correct))

x = 97455000

3   Pass
x =597455000 y_correct = 350704366; assert(isequal(euler002(x),y_correct))

x = 597455000

4   Pass
x =666576 y_correct = 257114; assert(isequal(euler002(x),y_correct))

x = 666576

### 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.5000058,"math_prob":0.972562,"size":670,"snap":"2020-45-2020-50","text_gpt3_token_len":215,"char_repetition_ratio":0.15765765,"word_repetition_ratio":0.0,"special_character_ratio":0.4358209,"punctuation_ratio":0.09090909,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9979727,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-21T11:38:40Z\",\"WARC-Record-ID\":\"<urn:uuid:4d41f0f7-fe07-411f-9e24-f4f1da2a25af>\",\"Content-Length\":\"80793\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:5740bf04-c695-4f21-8225-6a8479d0e342>\",\"WARC-Concurrent-To\":\"<urn:uuid:0074dff3-8f5e-454c-ab98-bf012b00279c>\",\"WARC-IP-Address\":\"23.212.144.59\",\"WARC-Target-URI\":\"https://kr.mathworks.com/matlabcentral/cody/problems/232-project-euler-problem-2-sum-of-even-fibonacci/solutions/2865419\",\"WARC-Payload-Digest\":\"sha1:THNJGJOUBN4LTXIQF5ZKKQNS4VBMF2NT\",\"WARC-Block-Digest\":\"sha1:NKNJUAQDEC7BGQPIP4YA2D2REZUMPXJI\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107876307.21_warc_CC-MAIN-20201021093214-20201021123214-00176.warc.gz\"}"}