W
W
whoareyoutofuckinglecture2018-10-18 11:59:22
Programming
whoareyoutofuckinglecture, 2018-10-18 11:59:22

I can't understand the task. What did the teacher mean?

Hello!
I am a first-year student of the specialty "Software Engineering", received this assignment:
5bc84a6b69097040366648.png
Tell me, please, what did the author of the assignment mean?
I generated an array of prime numbers in binary representation using the Eratosthenes algorithm, looked through it with my eyes, looked for symmetry like "111000" or "1010", as a result I can say that there are no symmetrical ones among them, except for the number 2 ("10" in binary system) . He also wrote code, ran it through the array up to a million prime numbers, and caught only two.
There is simply nothing like "111000" or "10101010" there.
Perhaps some other symmetry is meant here?
Please help, I'm breaking my head..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dies Irae, 2018-10-18
@whoareyoutofuckinglecture

Symmetry is probably 10|01 or 101|101.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question