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

in #puzzle5 years ago (edited)

Screenshot from 2019-10-21 21-01-03.png

Here you can solve interesting little problems using whatever programming language you like. Also you will earn SBI and STEM 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, so he can further support this and other contests.

Sort:  

Too difficult :-/

$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.

Congratulations @busbecq, you are successfuly trended the post that shared by @quantumdeveloper!
@quantumdeveloper will receive 3.79524600 TRDO & @busbecq will get 2.53016400 TRDO curation in 3 Days from Post Created Date!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

I think I solved it, do you want me to post the code or the final solution?

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.

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.

with the solution of course. The code is just to prevent copy/paste and maybe so that I can help you if you made a mistake.

Sum is 22939817743 Prime? Falsecode.jpg

Hi @quantumdeveloper, a small upvote and a tip from the ADDAX trading game! Round 3 coming soon.
$trendotoken

Congratulations @addax, you are successfuly trended the post that shared by @quantumdeveloper!
@quantumdeveloper will receive 0.85413600 TRDO & @addax will get 0.56942400 TRDO curation in 3 Days from Post Created Date!

"Call TRDO, Your Comment Worth Something!"

To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site

Congratulations @quantumdeveloper! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You distributed more than 1250 upvotes. Your next target is to reach 1500 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

SteemFest⁴ commemorative badge refactored

You can upvote this notification to help all Steem users. Learn how here!

Congratulations @quantumdeveloper, your post successfully recieved 4.649382 TRDO from below listed TRENDO callers:

@addax earned : 0.569424 TRDO curation
@busbecq earned : 2.530164 TRDO curation


To view or trade TRDO go to steem-engine.com
Join TRDO Discord Channel or Join TRDO Web Site


Here’s a free 100% vote from the @contestkings community!
If you run a contest and need support click here to connect with us today.

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.033
BTC 61926.98
ETH 3060.91
USDT 1.00
SBD 3.79