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

avatar
(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.



0
0
0.000
14 comments
avatar

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

0
0
0.000
avatar

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!

0
0
0.000
avatar

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

0
0
0.000
avatar
(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.

0
0
0.000
avatar
(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.

0
0
0.000
avatar

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.

0
0
0.000
avatar
(Edited)

Sum is 22939817743 Prime? Falsecode.jpg

0
0
0.000
avatar

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

0
0
0.000
avatar


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.

0
0
0.000