+ 17
[challange] tricky sequence
Find the secret of the following sequence. Find all sequences following the same rule. 1,7,1,2,5,6,2,3,4,7,5,3,6,4 All weapons welcome Have fun
27 odpowiedzi
+ 7
Very nice challenge Oma Falk !
Nice job Zoetic Zeel !
Very quick understanding of the pattern by Gaurav Agrawal !
After all your solutions were there, the only challenge left was to write a code able to find the solution in the CodePlayground.
And that's what I did :
https://code.sololearn.com/cn0kujEQAwD1/#py
It will work with 7 as an entry, sometimes with 8 (150 solutions)
+ 30
1 is repeating after a gap of 1 , 2 is repeating after a gap of 2 .... n is repeating after a gap of n
//btw whats the user input ... is it 7 for the series above
+ 17
wow Gaurav....😲
//I was still not solved😁😁
+ 17
wow 👏👏👏
//U invested time in doing that 😃
+ 17
best answer mark must go to Cpasgrave
//who made the code , not me
+ 14
@gaurav congrats your pray scheme..gelle?!
no user input.
There are less than 30 Sequences following exactly the same rule with highest number 7
try to find them.
+ 14
"Hero of the day" badge 😃
//congrats @Zeel
+ 11
Yeah..😅..i was doing it in lot's of way each time failed or memory limit error. then I came to know about product tool from itertools module. It has played role of magician in the code..😀..again, this code will not run in SL try in pc
https://code.sololearn.com/c6jbnOa5NrcD/?ref=app
+ 10
I'm afraid to say that there are total 52 series of length 14 and having each character from (1 to 7) 2 times. after 4 hours of headache, i was able to write the code to find them all. here are all series but code will not run in SL. You can try to run or optimize code in pc and see the results.
17125623475364
17126425374635
16172452634753
15167245236473
14156742352637
14167345236275
16135743625427
15173465324726
15163745326427
15146735423627
51716254237643
41716425327635
41617435263275
71316435724625
71416354732652
61517346532472
46171452632753
73161345726425
46171435623725
56171354632742
74151643752362
57141653472362
36713145627425
57416154372632
26721514637543
45671415362732
23726351417654
34573641512762
23627345161475
52472654131763
26327435614175
26325734615147
24723645317165
52732653417164
52462754316137
35723625417164
27423564371516
25623745361417
52642753461317
57236253471614
53672352461714
34673245261715
72632453764151
72462354736151
62742356437151
72452634753161
57263254376141
73625324765141
37463254276151
35743625427161
53647352462171
46357432652171
+ 9
Great Job @Cpasgrave amount of effort you have putten in your code is clearly visible. Keep it up bro👏👏👏👏
+ 9
@Oma Falk Irgendwie beruhigend, dass Google nicht alles übersetzen kann... :-)
+ 8
OMG..!!... I'm feeling honoured..!🙏 Thank you very much friends. This was possible because you all are continuously active @Gaurav @Oma and posting challenging and interesting questions like this...Truely, you are the real heros....😊😊😊🙏
+ 7
@zoetic all is fine! 26 solutions without reverse solution. You found them all and you get my personal "Hero of the day" badge.
Congrats chapeau.... that was anything else but easy!
+ 7
@zeel I want back my hero badge immediately and you know why.... took me 28XP!
(-:
ok .... hero badge donation.
+ 7
@Oma Falk your last challenge solved one of my problem. I was thinking that why Python is providing list type such that if we do list1=list2, list.(attributes) operations will be replicated over both and here we have import copy and copy.deepcopy😉😊
+ 7
@zeel Dir ist doch der Rotz die Backen hochgelaufen
@alle_anderen_die_ das_verstehen
(-:😉 nicht ernst gemeint
+ 6
@Oma Falk Google is not helping me exactly what you said in German. Can you translate?😀
+ 6
@zeel even many Germans wont understand.
It means: you had outrageous luck
Word by word it means
you run the rotz up the bake
"rotz" means "spit"
+ 6
@Oma Falk in matter of luck it's really very bad. if the answer is 1st word from the million words, I'll have an idea 'Let's start checking from the end'..😂😂
+ 5
@cpasgrave sth. wrong with your code.
there is nothing to see.