create account

Computation Contest #1 [1 SBI] + 10 STEM for every participant! by quantumdeveloper

View this thread on: hive.blogpeakd.comecency.com
· @quantumdeveloper · (edited)
$3.81
Computation Contest #1 [1 SBI] + 10 STEM for every participant!
![Screenshot from 2019-10-21 21-01-03.png](https://cdn.steemitimages.com/DQmRdiy4fxMDxASYLoMLusfdz4y8F2HJcF7MYQL5mLWDuoA/Screenshot%20from%202019-10-21%2021-01-03.png)

Here you can solve interesting little problems using whatever programming language you like. Also you will earn [SBI](https://steemit.com/@steembasicincome) and [STEM](https://stemgeeks.net) by doing so.
The tasks will be rather hard to solve without a programmable computer and some programming skills, but if you want to add a few million numbers by hand or similar, I will still give you the reward.

By the way: The image shown above is **not** a solution to the given problem although this piece of code might be useful in the context of this contest.
*↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓*
# Rules
#### No upvote, No resteem, No follow required!
#### I will give 1 SBI to 1 random person who put a correct or partly correct solution of the problem in a comment.
#### I will give 10 STEM to every participant. I hope that you stake them, but they will be yours, so you can do with them whatever you want.
#### You have 4 days to solve it.
#### Even though this is about computation I will also accept algebraic solutions if you find one.
*↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓*

# Problem
Tell me the sum of all numbers that are:
1) not divisible by any prime number less than 100 `AND`
2) also not a prime themselves `AND`
3) smaller than 1 000 000.

is that sum a prime?

*↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓*

To everyone who already participated in a past contest, come back today and try a new problem(tell me if you don't want to be tagged):
@null

In case no one gets a result(which I doubt), I will give away the prize to anyone who comments.
 
*↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓↑↓*

@contrabourdon sponsors my contests with 2 STEEM weekly.
You can support him by [using a witness vote on untersatz](https://v2.steemconnect.com/sign/account-witness-vote?witness=untersatz&approve=1), so he can further support this and other contests.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 58 others
👎  
properties (23)
authorquantumdeveloper
permlinkcomputation-contest-1-1-sbi-10-stem-for-every-participant
categorypuzzle
json_metadata{"tags":["puzzle","contest","sbi","steembasicincome","programming","math","stem","steemstem","steemiteducation","palnet"],"users":["null","contrabourdon"],"image":["https://cdn.steemitimages.com/DQmRdiy4fxMDxASYLoMLusfdz4y8F2HJcF7MYQL5mLWDuoA/Screenshot%20from%202019-10-21%2021-01-03.png"],"links":["https://steemit.com/@steembasicincome","https://stemgeeks.net","https://v2.steemconnect.com/sign/account-witness-vote?witness=untersatz&approve=1"],"app":"palnet/0.1","format":"markdown","canonical_url":"undefined/@quantumdeveloper/computation-contest-1-1-sbi-10-stem-for-every-participant"}
created2019-10-21 19:13:00
last_update2019-10-21 19:30:24
depth0
children14
last_payout2019-10-28 19:13:00
cashout_time1969-12-31 23:59:59
total_payout_value1.911 HBD
curator_payout_value1.896 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,069
author_reputation4,456,611,502,865
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,777,239
net_rshares13,711,186,288,095
author_curate_reward""
vote details (123)
@addax ·
Hi @quantumdeveloper, a small upvote and a tip from the ADDAX trading game! Round 3 coming soon.
$trendotoken
👍  
properties (23)
authoraddax
permlinkre-computation-contest-1-1-sbi-10-stem-for-every-participant-20191021t192122z
categorypuzzle
json_metadata"{"app": "rewarding/0.1.5"}"
created2019-10-21 19:21:24
last_update2019-10-21 19:21:24
depth1
children1
last_payout2019-10-28 19:21:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length112
author_reputation10,095,102,713,551
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,777,448
net_rshares1,740,531,892
author_curate_reward""
vote details (1)
@trendotoken ·
Congratulations @addax, you are successfuly trended the post that shared by @quantumdeveloper!
@quantumdeveloper will receive <b>0.85413600</b> [TRDO](https://steem-engine.com/?p=history&t=TRDO) & @addax will get <b>0.56942400</b> [TRDO](https://steem-engine.com/?p=history&t=TRDO) curation in 3 Days from Post Created Date!

<b>"Call [TRDO](https://steem-engine.com/?p=history&t=TRDO), Your Comment Worth Something!"</b>
---
<sup>To view or trade TRDO go to [steem-engine.com](https://steem-engine.com/?p=market&t=TRDO)
Join [TRDO Discord Channel](https://discord.gg/wySP8T9) or Join [TRDO Web Site](http://www.trendotoken.info/)</sup>
properties (22)
authortrendotoken
permlinkre-addax-re-computation-contest-1-1-sbi-10-stem-for-every-participant-20191021t192122z-20191021t192136623z
categorypuzzle
json_metadata{"tags":["comments-scot","trendo-bot"],"app":"comments-scot/1.1","format":"markdown"}
created2019-10-21 19:21:36
last_update2019-10-21 19:21:36
depth2
children0
last_payout2019-10-28 19:21:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length636
author_reputation5,546,209,053,433
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,777,454
net_rshares0
@busbecq ·
$trendotoken

mmm... so we're just left with semiprimes N=pq, where p,q>100 and prime, N<1000000, and plus 1. Let someone else code it.
👍  ,
properties (23)
authorbusbecq
permlinkpzsark
categorypuzzle
json_metadata{"app":"steemit/0.1"}
created2019-10-22 16:21:21
last_update2019-10-22 16:21:21
depth1
children1
last_payout2019-10-29 16:21:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length135
author_reputation8,940,581,496,905
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,804,353
net_rshares5,909,522,263
author_curate_reward""
vote details (2)
@trendotoken ·
Congratulations @busbecq, you are successfuly trended the post that shared by @quantumdeveloper!
@quantumdeveloper will receive <b>3.79524600</b> [TRDO](https://steem-engine.com/?p=history&t=TRDO) & @busbecq will get <b>2.53016400</b> [TRDO](https://steem-engine.com/?p=history&t=TRDO) curation in 3 Days from Post Created Date!

<b>"Call [TRDO](https://steem-engine.com/?p=history&t=TRDO), Your Comment Worth Something!"</b>
---
<sup>To view or trade TRDO go to [steem-engine.com](https://steem-engine.com/?p=market&t=TRDO)
Join [TRDO Discord Channel](https://discord.gg/wySP8T9) or Join [TRDO Web Site](http://www.trendotoken.info/)</sup>
properties (22)
authortrendotoken
permlinkre-busbecq-pzsark-20191022t162132899z
categorypuzzle
json_metadata{"tags":["comments-scot","trendo-bot"],"app":"comments-scot/1.1","format":"markdown"}
created2019-10-22 16:21:33
last_update2019-10-22 16:21:33
depth2
children0
last_payout2019-10-29 16:21:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length640
author_reputation5,546,209,053,433
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,804,360
net_rshares0
@contestkings ·
https://media.giphy.com/media/lTAp3TehCCzLgPPzPH/giphy.gif
Here’s a free 100% vote from the @contestkings community!
If you run a contest and need support click [here](https://discordapp.com/invite/SMSNk7w) to connect with us today.
properties (22)
authorcontestkings
permlinkre-quantumdeveloper-pzwogc
categorypuzzle
json_metadata{"tags":["puzzle"],"app":"steempeak/1.18.5"}
created2019-10-25 01:07:24
last_update2019-10-25 01:07:24
depth1
children0
last_payout2019-11-01 01:07:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length232
author_reputation72,214,930,966,228
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,878,173
net_rshares0
@crokkon · (edited)
properties (23)
authorcrokkon
permlinkpzsdd0
categorypuzzle
json_metadata"{"app": ""}"
created2019-10-22 17:17:18
last_update2022-09-18 07:33:39
depth1
children0
last_payout2019-10-29 17:17:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation81,214,366,861,104
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,805,830
net_rshares9,202,202,970
author_curate_reward""
vote details (2)
@kaeserotor ·
I think I solved it, do you want me to post the code or the final solution?
👍  
properties (23)
authorkaeserotor
permlinkre-quantumdeveloper-pzsara
categorypuzzle
json_metadata{"tags":["puzzle"],"app":"steempeak/1.18.0"}
created2019-10-22 16:21:03
last_update2019-10-22 16:21:03
depth1
children4
last_payout2019-10-29 16:21:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation18,015,148,601,358
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,804,338
net_rshares4,186,925,712
author_curate_reward""
vote details (1)
@quantumdeveloper · (edited)
It would be best if you would post the code, if it isn't too long.
I want to prevent that people are able to copy+paste solutions from others.
properties (22)
authorquantumdeveloper
permlinkpzsbkm
categorypuzzle
json_metadata{"app":"steemit/0.1"}
created2019-10-22 16:38:48
last_update2019-10-22 16:41:06
depth2
children3
last_payout2019-10-29 16:38:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length142
author_reputation4,456,611,502,865
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,804,836
net_rshares0
@kaeserotor · (edited)
With or without the solution as number? I mean one could also post code that theoretically will solve the problem but practically runs an eternity :D Nice Problem btw  

Edit: Dont want to offend you or anything, just dont want to ruin the contest by posting the solution in the wrong way.
👍  
properties (23)
authorkaeserotor
permlinkre-quantumdeveloper-pzsczs
categorypuzzle
json_metadata{"tags":["puzzle"],"app":"steempeak/1.18.0"}
created2019-10-22 17:09:18
last_update2019-10-22 17:13:33
depth3
children2
last_payout2019-10-29 17:09:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length289
author_reputation18,015,148,601,358
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,805,633
net_rshares3,860,981,019
author_curate_reward""
vote details (1)
@steemitboard ·
Congratulations @quantumdeveloper! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://steemitimages.com/60x70/http://steemitboard.com/@quantumdeveloper/votes.png?201910212014"></td><td>You distributed more than 1250 upvotes. Your next target is to reach 1500 upvotes.</td></tr>
</table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@quantumdeveloper) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=quantumdeveloper)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemfest/@steemitboard/steemfest-commemorative-badge-refactored"><img src="https://steemitimages.com/64x128/https://files.steempeak.com/file/steempeak/arcange/YqQV5Tbj-image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/steemfest-commemorative-badge-refactored">SteemFest⁴  commemorative badge refactored</a></td></tr></table>

> You can upvote this notification to help all Steem users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-quantumdeveloper-20191021t205138000z
categorypuzzle
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-10-21 20:51:36
last_update2019-10-21 20:51:36
depth1
children0
last_payout2019-10-28 20:51:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,360
author_reputation38,975,615,169,260
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,779,554
net_rshares0
@trendotoken ·
Congratulations @quantumdeveloper, your post successfully recieved <b>4.649382</b> [TRDO](https://steem-engine.com/?p=history&t=TRDO) from below listed TRENDO callers:<br>

>	<sup>@addax earned : **0.569424** [TRDO](https://steem-engine.com/?p=history&t=TRDO) curation<br>@busbecq earned : **2.530164** [TRDO](https://steem-engine.com/?p=history&t=TRDO) curation</sup> 

---
<sup>To view or trade TRDO go to [steem-engine.com](https://steem-engine.com/?p=market&t=TRDO)
Join [TRDO Discord Channel](https://discord.gg/wySP8T9) or Join [TRDO Web Site](http://www.trendotoken.info/)</sup>
properties (22)
authortrendotoken
permlinkre-quantumdeveloper-computation-contest-1-1-sbi-10-stem-for-every-participant-20191024t191751342z
categorypuzzle
json_metadata{"tags":["trdo","trendo-bot"],"app":"comments-scot/1.1","format":"markdown"}
created2019-10-24 19:17:51
last_update2019-10-24 19:17:51
depth1
children0
last_payout2019-10-31 19:17:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length585
author_reputation5,546,209,053,433
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,871,487
net_rshares0
@zuerich ·
$0.03
Too difficult :-/
👍  
properties (23)
authorzuerich
permlinkre-quantumdeveloper-pzs5t0
categorypuzzle
json_metadata{"tags":["puzzle"],"app":"steempeak/1.18.0"}
created2019-10-22 14:34:15
last_update2019-10-22 14:34:15
depth1
children0
last_payout2019-10-29 14:34:15
cashout_time1969-12-31 23:59:59
total_payout_value0.013 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length17
author_reputation169,277,603,547,542
root_title"Computation Contest #1 [1 SBI] + 10 STEM for every participant!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,801,010
net_rshares158,550,877,043
author_curate_reward""
vote details (1)