Cody

# Problem 64. The Goldbach Conjecture, Part 2

Solution 147022

Submitted on 11 Oct 2012 by Everett Rubel
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 = 6; c_correct = 1; assert(isequal(goldbach2(n),c_correct))

s = 2

2   Pass
%% n = 10; c_correct = 2; assert(isequal(goldbach2(n),c_correct))

s = 3

3   Pass
%% n = 50; c_correct = 4; assert(isequal(goldbach2(n),c_correct))

s = 9

4   Pass
%% n = 480; c_correct = 29; assert(isequal(goldbach2(n),c_correct))

s = 52

### 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.5439486,"math_prob":0.9926164,"size":582,"snap":"2020-45-2020-50","text_gpt3_token_len":197,"char_repetition_ratio":0.16782007,"word_repetition_ratio":0.0,"special_character_ratio":0.3797251,"punctuation_ratio":0.12962963,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9927443,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-03T05:23:06Z\",\"WARC-Record-ID\":\"<urn:uuid:417d85a2-ce5e-40c6-be5c-a49cb42ea2d3>\",\"Content-Length\":\"80544\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b76ec9b5-096d-4a58-b6ce-68f1ec253ad7>\",\"WARC-Concurrent-To\":\"<urn:uuid:e00e47ad-b071-4a61-b13b-c20131176eb8>\",\"WARC-IP-Address\":\"23.32.68.178\",\"WARC-Target-URI\":\"https://de.mathworks.com/matlabcentral/cody/problems/64-the-goldbach-conjecture-part-2/solutions/147022\",\"WARC-Payload-Digest\":\"sha1:KGPU6PNKML6JSJDZDKSJ6QDJ2WJBFMNN\",\"WARC-Block-Digest\":\"sha1:L2FAOOHYCJHPNME6JORJXBYWAUYMDG4V\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141718314.68_warc_CC-MAIN-20201203031111-20201203061111-00646.warc.gz\"}"}