Timeline for Finding the period of an array of integers
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 29, 2015 at 8:18 | comment | added | Kuba | @matheorem wow, that's unexpected :), any tips? | |
Oct 29, 2015 at 0:48 | comment | added | matheorem | @Kuba sqPeriod@{73, 7, 4, 73, 7, 4} gives wrong answer, check it out :) | |
Apr 19, 2015 at 8:12 | comment | added | Kuba | @rasher Thanks :) I like that MMA lets me skip thinking process sometimes :P | |
Apr 18, 2015 at 7:52 | comment | added | ciao | +1, yours among the ones that seems to get it right, and pretty quickly. | |
Apr 17, 2015 at 13:11 | comment | added | Kuba | @Gerli Thanks, fixed. | |
Apr 17, 2015 at 13:11 | history | edited | Kuba | CC BY-SA 3.0 |
added 1 character in body
|
Apr 17, 2015 at 13:11 | comment | added | Gerli |
Fails for patterns with length 1: In[1]:= sqPeriod[{1, 1, 1, 1, 1, 1}]; Out[1]= {6, {1, 1, 1, 1, 1, 1}}
|
|
Apr 17, 2015 at 12:41 | history | answered | Kuba | CC BY-SA 3.0 |