[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 47 KB, 720x547, D32D1EB5-DAA3-46DC-9BB2-8FCF09900F85.jpg [View same] [iqdb] [saucenao] [google]
11263435 No.11263435 [Reply] [Original]

What’s the pattern here? I’m a low IQ retard hence cant figure it out

>> No.11263441

>What’s the pattern here? I’m a low IQ retard hence cant figure it out
What have you tried?

>> No.11263448

>>11263441
I thought maybe each row will be the sum of the previous 2. That doesn't work for last row

>> No.11263478

/sci/ cannot answer it guess.

>> No.11263490

Here is a hint:
The first element is: one one
The second element is: two one s
The third element is: one two (and) one one

>> No.11263493

The next element after the last one in the image is:
13112221
then:
1113213211

>> No.11263495

It’s Conway’s look-and-say sequence
“One one”
“Two ones”
“One two, one one”
“One one, one two, two ones”
“Three ones, two twos, one one”
.
.
.

>> No.11263519

>>11263495
Is it necessary to know 'Conway’s look-and-say sequence' in order to answer this?

>> No.11263521

>>11263519
Yes

>> No.11263527

this is one of those stupid verbal problems. I fucking hate these
One
One "one"
Two "ones"
one "two" one "one"
etc

>> No.11263539

>>11263519
No, if you think a bit out of the box you could figure out the pattern just from looking at the sequence

>> No.11263544

>>11263527
The sequence actually has really interesting mathematical properties

>> No.11263546

>>11263521
If you don't know, then you're kinda stuck?
And no amount of IQ can help you solve this in say 20 minutes?

>> No.11263550

>>11263539
I was thinking in terms of sums of each row i.e. fibonacci numbers. Maybe I'm retarded

>> No.11263551

>>11263544
Mind elaborating? I'm curious. At this point it just seems brain teaser tier

>> No.11263572

>>11263550
You’re not retarded, you just didn’t happen to look at it the right way. That happens to everyone no matter how intelligent

>> No.11263575

>>11263550
>>11263572
This. Take a chill pill, you tried approaching the problem and it didn't work. That happens to everyone. You aren't as dumb as you think you are

>> No.11263582

>>11263551
For one, on a logarithmic graph the line approaches a straight line, which is counterintuitive
It exhibits formal system-like behavior, like always “decaying” into a sequence of 92 specific subsequences that never interact with each other, no matter what the starting input string is
It’s also proven that no number greater than 3 will ever appear as the sequence grows

>> No.11263583

>>11263582
Got any links?

>> No.11263588

>>11263583
wikipedia.com/look-and-say-sequence

>> No.11263590

>>11263588
Your link is broken bro
https://en.wikipedia.org/wiki/Look-and-say_sequence

>> No.11263597

>>11263590
It’s not, I checked

>> No.11263599
File: 37 KB, 734x324, 1550710843829.png [View same] [iqdb] [saucenao] [google]
11263599

>>11263597

>> No.11263603

>>11263599
Don’t know what to tell you, works on my end

>> No.11263610

>>11263435
#include <iostream>
#include <vector>

void print_conway(int n) {
std::vector<int> cur = { 1 }, next = {};
while (n--) {
for (int x : cur) std::cout << x << ' ';
int num = cur[0], count = 1;
for (int i = 1, size = cur.size(); i < size; ++i) {
if (cur[i] == num) ++count;
else {
next.push_back(count);
next.push_back(num);
num = cur[i];
count = 1;
}
}
next.push_back(count);
next.push_back(num);
std::cout << '\n';
std::swap(cur, next);
next.clear();
}
}

>> No.11263639

>>11263610
Dilate.

>> No.11263645

>>11263435
lmao, circumclampinated brainlet

>> No.11263662

>>11263610
>C++
Bruh

>> No.11263695

>>11263519
No, I just figured it out myself, and then I scrolled down the comments to see if anyone else did and found this

>> No.11263780

It's not a pattern it's just random shit

>> No.11263883

>>11263645
I am a brainlet. Kill me

>> No.11263884

>>11263610
Wasn't needed, but thanks

>> No.11263898

>>11263582
what the fuck

>> No.11264127
File: 3.13 MB, 4032x3024, 20191230_141824.jpg [View same] [iqdb] [saucenao] [google]
11264127

damn, tried this before looking into comments. I didn't know the Conway sequence. the last thing I didn't try is the order of digits. Is there a way to describe this non-verbally?

>> No.11264139

>>11264127
my thinking is retarded. just read the wikipedia

>> No.11264215

>>11263610
Why does this autist type like a bot?

>> No.11264235

>>11264215
because the OP is a coding exercise

>> No.11264349

Next is
13112221
1113213211
31131211131221
1321131112312211

>> No.11264367

>>11263435
You count the numetals in to previous row:
1
One 1
Two 1's
One 2, one 1
One 1, one 2, 2 ones
Three 1's, two 2's, one 1
One 3 one 1 two 2 two 1
‐--------------‐-------------‐---------
13112221

>> No.11264370

>>11264367
You count the numerals in the previous row.

>> No.11264407
File: 319 KB, 480x480, 1552311163965.png [View same] [iqdb] [saucenao] [google]
11264407

>>11264367
>numetals

>> No.11264779

>>11263575
Thanks for uplifting

>> No.11265204

>>11263662
>>>/g/olang is that way

>> No.11265386 [DELETED] 

>>11263435
>>11263495
Holy fuck, Anon! I now realize that this was probably what was given to me as a riddle at a party in my uni freshman year. Everyone was watching as I failed miserably. They just laughed and never told me the answer. It was truly traumatizing. Fucking douchebags.

>> No.11265393 [DELETED] 

>>11265386
Oh yeah, now I remember! It was ME that REFUSED being told the answer.

>> No.11265403

>>11263435
>>11263495
Holy fuck, Anon! I now realize that this was probably what was given to me as a riddle at a party in my uni freshman year. Everyone was watching as I failed miserably for like 20 min. I REFUSED being told the answer, and they respected it. I got tired and just gave up without ever getting the resolve.

>> No.11265649

>>11263435
there is no pattern

>> No.11266094

>>11265649
Define pattern

>> No.11266099

>>11265649
Based btw

>> No.11266164
File: 167 KB, 1508x546, prog.png [View same] [iqdb] [saucenao] [google]
11266164

>> No.11266185

>>11266164
>using itertools
>using strings to store numbers
>python

disgusting

>> No.11266215

>>11266185
good job outing yourself as a retard you fag

string is the correct datatype here. if you used a long integer type (assuming a 64 bit computer) you would get an integer overflow as soon as n > 9. Your low IQ prevented you from seeing this. lmfao.

>> No.11266240

>>11266215
Spotted the cs major

>> No.11266246

>>11263582
>It’s also proven that no number greater than 3 will ever appear as the sequence grows
why tho

>> No.11267798

>>11266164
Slick

>> No.11267922

>>11266164
>3/10
>only printed the last row, read the instruction next time you repeat my class

>> No.11268032

>>11266164
based

>>11266240
cringe

>> No.11268046
File: 220 KB, 781x1060, a6LQfRR8UIs.jpg [View same] [iqdb] [saucenao] [google]
11268046

>>11264367
the genius is you (if you figured it out by yourself)

>> No.11268122

>>11266215
The correct data structure is a 2bit vector or some binary packed ternary scheme