{"group":{"id":1,"name":"Community","lockable":false,"created_at":"2012-01-18T18:02:15.000Z","updated_at":"2026-05-26T00:16:20.000Z","description":"Problems submitted by members of the MATLAB Central community.","is_default":true,"created_by":161519,"badge_id":null,"featured":false,"trending":false,"solution_count_in_trending_period":0,"trending_last_calculated":"2026-05-26T00:00:00.000Z","image_id":null,"published":true,"community_created":false,"status_id":2,"is_default_group_for_player":false,"deleted_by":null,"deleted_at":null,"restored_by":null,"restored_at":null,"description_opc":null,"description_html":null,"published_at":null},"problems":[{"id":2444,"title":"Obtain the Bitcoin address associated to a given private key","description":"All the information you need is at\r\n\r\n\u003chttps://en.bitcoin.it/wiki/Address\u003e\r\n\r\nand you may also find helpful\r\n\r\n\u003chttps://brainwallet.github.io/\u003e\r\n\r\nP.S.: The winner may receive a Bitcoin tip.","description_html":"\u003cp\u003eAll the information you need is at\u003c/p\u003e\u003cp\u003e\u003ca href = \"https://en.bitcoin.it/wiki/Address\"\u003ehttps://en.bitcoin.it/wiki/Address\u003c/a\u003e\u003c/p\u003e\u003cp\u003eand you may also find helpful\u003c/p\u003e\u003cp\u003e\u003ca href = \"https://brainwallet.github.io/\"\u003ehttps://brainwallet.github.io/\u003c/a\u003e\u003c/p\u003e\u003cp\u003eP.S.: The winner may receive a Bitcoin tip.\u003c/p\u003e","function_template":"function y = private2public(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nprivate_key{1} = '5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss';\r\naddress{1} =  '1HZwkjkeaoZfTSaJxDw6aKkxp45agDiEzN';\r\n\r\nprivate_key{2} = '5KPZC58SA5LXM3hQA6LQ761hP6YFyEW58v1uAd4yAgsgbZxqCZR';\r\naddress{2} =  '1DPZAu8Lowvmi3WdRpvzhkWLkSz7K2k7qY';\r\n\r\nprivate_key{3} = '5JQeiA915aSm9RCUwiasAVeass1DVthgFfNy76KRYA9689tqJX7';\r\naddress{3} =  '1889nUYazT9MhsqE4fxutq1dpyspHZEiaM';\r\n\r\nprivate_key{4} = '5JPNo4Q5A3AzhR2VRScgyZhJbgCbq3gHcd4w4EDimUBN9TTWq2s';\r\naddress{4} =  '1CvKHaVAKsGGftTFZBdJRcxozxeQo7rXUk';\r\n\r\nprivate_key{5} = '5Kdd1i85z2myGnN4ndHW96rNDQW1AFLkqLUewPodTyxm1EK2gd1';\r\naddress{5} =  '12iMNgciNRutMSeu18iaByKYBPnk88Hcm1';\r\n\r\nprivate_key{6} = '5KaSncNnmejNkcZiHWh74kHf8jzUutKmoajUtgnFhT4e4mHK6UT';\r\naddress{6} =  '1JmrvhqYP4EpSRAhuKkn2NtmPvPNCxA9Kd';\r\n\r\nprivate_key{7} = '5Jjac2ukidTt8fTENXjUWZaBZpSgiADmEzv1EhSUYrkGpRYEeoK';\r\naddress{7} =  '162ZamkWtU4MjmayDqfZiZ8YDWha1cBqDz';\r\n\r\nprivate_key{8} = '5J9qJjxEt4YHtnHBQX575mmpQ12KHCfdeY5ay6DPTrGCYG4pMp8';\r\naddress{8} =  '15DCDa22KmMe4t4732jYAd6YFWTCuaWqFf';\r\n\r\nprivate_key{9} = '5J1SxwfR2fFYKrspZr2nPSKaQhowL88fpBSMAEVXVg1GCDkeuVX';\r\naddress{9} =  '12qFUiu25hUX9h1DUfU9LcqHGDdnGaJdXz';\r\n\r\nprivate_key{10} = '5JNzgZtEFAgWiNwtNvHsFxL8K5ixXHzvGVDTmi1EPQQEaBAbXNT';\r\naddress{10} =  '19b8X6TRsmHFWm4sJKo9NTHdTUmu38SqxE';\r\n\r\n%{  \r\n\r\n \"I would prefer even to fail with honor than win by cheating.\"\r\n\r\n                                                                Sophocles\r\n\r\n%}\r\n\r\nfor k=randperm(10)\r\nif address{k}==private2public(private_key{k}) else fail{-1}, end\r\nend","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":5925,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":7,"test_suite_updated_at":"2014-07-18T23:14:37.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2014-07-16T18:59:56.000Z","updated_at":"2026-05-25T02:52:00.000Z","published_at":"2014-07-16T19:00:19.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAll the information you need is at\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://en.bitcoin.it/wiki/Address\\\"\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026lt;https://en.bitcoin.it/wiki/Address\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026gt;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eand you may also find helpful\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://brainwallet.github.io/\\\"\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026lt;https://brainwallet.github.io/\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026gt;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eP.S.: The winner may receive a Bitcoin tip.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"problem_search":{"problems":[{"id":2444,"title":"Obtain the Bitcoin address associated to a given private key","description":"All the information you need is at\r\n\r\n\u003chttps://en.bitcoin.it/wiki/Address\u003e\r\n\r\nand you may also find helpful\r\n\r\n\u003chttps://brainwallet.github.io/\u003e\r\n\r\nP.S.: The winner may receive a Bitcoin tip.","description_html":"\u003cp\u003eAll the information you need is at\u003c/p\u003e\u003cp\u003e\u003ca href = \"https://en.bitcoin.it/wiki/Address\"\u003ehttps://en.bitcoin.it/wiki/Address\u003c/a\u003e\u003c/p\u003e\u003cp\u003eand you may also find helpful\u003c/p\u003e\u003cp\u003e\u003ca href = \"https://brainwallet.github.io/\"\u003ehttps://brainwallet.github.io/\u003c/a\u003e\u003c/p\u003e\u003cp\u003eP.S.: The winner may receive a Bitcoin tip.\u003c/p\u003e","function_template":"function y = private2public(x)\r\n  y = x;\r\nend","test_suite":"%%\r\nprivate_key{1} = '5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss';\r\naddress{1} =  '1HZwkjkeaoZfTSaJxDw6aKkxp45agDiEzN';\r\n\r\nprivate_key{2} = '5KPZC58SA5LXM3hQA6LQ761hP6YFyEW58v1uAd4yAgsgbZxqCZR';\r\naddress{2} =  '1DPZAu8Lowvmi3WdRpvzhkWLkSz7K2k7qY';\r\n\r\nprivate_key{3} = '5JQeiA915aSm9RCUwiasAVeass1DVthgFfNy76KRYA9689tqJX7';\r\naddress{3} =  '1889nUYazT9MhsqE4fxutq1dpyspHZEiaM';\r\n\r\nprivate_key{4} = '5JPNo4Q5A3AzhR2VRScgyZhJbgCbq3gHcd4w4EDimUBN9TTWq2s';\r\naddress{4} =  '1CvKHaVAKsGGftTFZBdJRcxozxeQo7rXUk';\r\n\r\nprivate_key{5} = '5Kdd1i85z2myGnN4ndHW96rNDQW1AFLkqLUewPodTyxm1EK2gd1';\r\naddress{5} =  '12iMNgciNRutMSeu18iaByKYBPnk88Hcm1';\r\n\r\nprivate_key{6} = '5KaSncNnmejNkcZiHWh74kHf8jzUutKmoajUtgnFhT4e4mHK6UT';\r\naddress{6} =  '1JmrvhqYP4EpSRAhuKkn2NtmPvPNCxA9Kd';\r\n\r\nprivate_key{7} = '5Jjac2ukidTt8fTENXjUWZaBZpSgiADmEzv1EhSUYrkGpRYEeoK';\r\naddress{7} =  '162ZamkWtU4MjmayDqfZiZ8YDWha1cBqDz';\r\n\r\nprivate_key{8} = '5J9qJjxEt4YHtnHBQX575mmpQ12KHCfdeY5ay6DPTrGCYG4pMp8';\r\naddress{8} =  '15DCDa22KmMe4t4732jYAd6YFWTCuaWqFf';\r\n\r\nprivate_key{9} = '5J1SxwfR2fFYKrspZr2nPSKaQhowL88fpBSMAEVXVg1GCDkeuVX';\r\naddress{9} =  '12qFUiu25hUX9h1DUfU9LcqHGDdnGaJdXz';\r\n\r\nprivate_key{10} = '5JNzgZtEFAgWiNwtNvHsFxL8K5ixXHzvGVDTmi1EPQQEaBAbXNT';\r\naddress{10} =  '19b8X6TRsmHFWm4sJKo9NTHdTUmu38SqxE';\r\n\r\n%{  \r\n\r\n \"I would prefer even to fail with honor than win by cheating.\"\r\n\r\n                                                                Sophocles\r\n\r\n%}\r\n\r\nfor k=randperm(10)\r\nif address{k}==private2public(private_key{k}) else fail{-1}, end\r\nend","published":true,"deleted":false,"likes_count":1,"comments_count":1,"created_by":5925,"edited_by":null,"edited_at":null,"deleted_by":null,"deleted_at":null,"solvers_count":7,"test_suite_updated_at":"2014-07-18T23:14:37.000Z","rescore_all_solutions":true,"group_id":1,"created_at":"2014-07-16T18:59:56.000Z","updated_at":"2026-05-25T02:52:00.000Z","published_at":"2014-07-16T19:00:19.000Z","restored_at":null,"restored_by":null,"spam":false,"simulink":false,"admin_reviewed":false,"description_opc":"{\"relationships\":[{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/document\",\"targetMode\":\"\",\"relationshipId\":\"rId1\",\"target\":\"/matlab/document.xml\"},{\"relationshipType\":\"http://schemas.mathworks.com/matlab/code/2013/relationships/output\",\"targetMode\":\"\",\"relationshipId\":\"rId2\",\"target\":\"/matlab/output.xml\"}],\"parts\":[{\"partUri\":\"/matlab/document.xml\",\"relationship\":[],\"contentType\":\"application/vnd.mathworks.matlab.code.document+xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?\u003e\\n\u003cw:document xmlns:w=\\\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\\\"\u003e\u003cw:body\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eAll the information you need is at\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://en.bitcoin.it/wiki/Address\\\"\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026lt;https://en.bitcoin.it/wiki/Address\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026gt;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eand you may also find helpful\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:hyperlink w:docLocation=\\\"https://brainwallet.github.io/\\\"\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026lt;https://brainwallet.github.io/\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:hyperlink\u003e\u003cw:r\u003e\u003cw:t\u003e\u0026gt;\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003cw:p\u003e\u003cw:pPr\u003e\u003cw:pStyle w:val=\\\"text\\\"/\u003e\u003c/w:pPr\u003e\u003cw:r\u003e\u003cw:t\u003eP.S.: The winner may receive a Bitcoin tip.\u003c/w:t\u003e\u003c/w:r\u003e\u003c/w:p\u003e\u003c/w:body\u003e\u003c/w:document\u003e\"},{\"partUri\":\"/matlab/output.xml\",\"contentType\":\"text/xml\",\"content\":\"\u003c?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\" standalone=\\\"no\\\" ?\u003e\u003cembeddedOutputs\u003e\u003cmetaData\u003e\u003cevaluationState\u003emanual\u003c/evaluationState\u003e\u003clayoutState\u003ecode\u003c/layoutState\u003e\u003coutputStatus\u003eready\u003c/outputStatus\u003e\u003c/metaData\u003e\u003coutputArray type=\\\"array\\\"/\u003e\u003cregionArray type=\\\"array\\\"/\u003e\u003c/embeddedOutputs\u003e\"}]}"}],"errors":[],"facets":[[{"value":"Advanced Cryptography Algorithms and Mathematics","count":1,"selected":false}],[{"value":"hard","count":1,"selected":false}]],"term":"tag:\"bitcoin\"","page":1,"per_page":50,"sort":"map(difficulty_value,0,0,999) asc"}}