Предмет: Математика, автор: 4ernet

Помогите решить, логику не вижу

Приложения:

Ответы

Автор ответа: IlIA2O12
0
1 (один 1)
11 ( два 1)
2 1 (одна 2, один 1)
1 2 1 1 (один 1, одна 2, две 1)
1 1 1 2 2 1 ( три 1, две 2, одна 1)
3 1 2 2 1 1 ( одна 3, одна 1, две 2, две 1)
1 3 1 1 2 2 2 1 ( одна 1, одна 3, две 1, три 2, одна 1)
1 1 1 3 2 1 3 2 1 1
числа из скобок и складывают следующий ряд
Автор ответа: hote
0
и просто допишите вашу последнюю фразу "из числа из скобок и складывают следующий ряд)
Автор ответа: IlIA2O12
0
спс))
Автор ответа: ужнеужели
0
Очень хорошо. Пояснительный текст не помешал бы.. Две равноценные логики. Интересно, автор подозревал такую возможность.
Автор ответа: hote
0
 1

11

21

1211

111221

312211

13112221

рассмотрим каждую строку:

1  - единица
11 - одна 1-ца (значит в предыдущей строке одна единица)
21 - две 1-цы ( значит в предыдущей строке две единицы)
1211- одна 2-ка, одна 1-ца ( значит в предыдущей строке одна 2-ка и одна 1-ца)
111221 - одна 1-ца, одна 2-ка , две 1-цы ( и т.д.)
312211- три 1-цы, две 2-ки, одна 1-ца
13112221 - одна 3-ка, одна 1-ца, две 2-ки, две 1-цы

значит следующая строка

1113213211- одна 1-ца, одна 3-ка, две 1-цы, три 2-ки, одна 1-ца

т.е внимательно читаем предыдущую строку:
1 (одна единица) 3 (одна тройка) 1 1 (две единицы)
2 2 2 ( три двойки) 1 (одна единица)


Спасибо nelle987 (Ведущему модератору информатики) за идею.
"в информатике такой пример кодирования называется RLE - кодирование длин серий" 


 
Похожие вопросы
Предмет: Английский язык, автор: mesaleks20
Измените прямую речь на косвенную дам 50 балов
Gary said, "I write the lyrics for the songs." *

1.Gary told me he wrote the lyrics for the songs.
2.Gary said me he write the lyrics for the songs.
3.Gary told he had written the lyrics for the song

Lisa said, "You should go to the karaoke club on Black Road." *


1.Lisa said that you should go to the karaoke club on Black Road.
2.Lisa said that you should went to the karaoke club on Black Road.
3.Lisa said that I should go to the karaoke club on Black Roa

Mark said,"You'll listen to some really horrible voices there!


1.Mark said that l would listen to some really horrible voices there.
2.Mark said that you would listen to some really horrible voices there.
3.Mark said that l'll listen to some really horrible voices there.

Tom said to Chloe, "I don't like the concerts because they are always crowded." *


1.Tom told Chloe I don't like the concerts because they were/are always crowded.
2.Tom told Chloe she didn't like the concerts because they were/are always crowded.
3.Tom told Chloe he didn't like the concerts because they were/are always crowded.

ike said, "We can do there together next weekend." *


1.Mike said that we could go there together the following weekend.
2.Mike said that we can go there together the following weekend.
3.Mike said that they can went there together the following weekend.

You said, "You will go to the concert with me." *


1.You said I would go to the concert with you.
2.You said you will go to the concer with me.
3.You said you would go to the concert with me.

They said, "You aren't a very good singer." *


1.They said I wasn't a very good singer.
2.They said I amn't a very good singer.
3.They said you weren't a very good singer

Mel said, "I went to a concert last night." *


1.Mel said she had gone to a concert the previous night.
2.Mel said I went to a concert the previous night.
3.Mel said she went to a concert the previous night.

Paul told Alice, "I've been to karaoke clubs before!" *


1.Paul told Alice that I had been to karaoke clubs before.
2.Paul told Alice he had been to karaoke clubs before.
3.Paul told Alice he was to karaoke clubs before


James said, "I didn't enjoy yesterday's concert because the singer's voice was horrible." *


1.James said he hadn't enjoyed the previous day's concert because the singer's voice had been horrible.
2.James said I hadn't enjoyed the previous day's concert because the singer's voice had been horrible.
3.James said he didn't enjoy the previous day's concert because the singer's voice had been horrible.

Mary said, "I don't like the BTS's latest album." *


1.Mary told me she didn't like the BTS's latest album.
2.Mary told me she don't like the BTS's latest album.
3.Mary said me she doesn't like the BTS's latest album.
Предмет: Математика, автор: alinatrietiak08
Предмет: Английский язык, автор: adelinaashirbekova2