Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

A very simple puzzle

  • 26-07-2010 10:37pm
    #1
    Registered Users, Registered Users 2 Posts: 5,177 ✭✭✭


    What is the next line in this sequence

    1
    1 1
    2 1
    1 2 1 1
    1 1 1 2 2 1


Comments

  • Registered Users, Registered Users 2 Posts: 480 ✭✭Flyin Irishman


    312211

    -did it in an algorithms class a while back :cool:

    Anyone wanna post the next line in the sequence?


  • Registered Users, Registered Users 2 Posts: 3,412 ✭✭✭randombar


    13112221


  • Registered Users Posts: 70 ✭✭Sack


    1113213211


  • Registered Users, Registered Users 2 Posts: 480 ✭✭Flyin Irishman


    31131211131221


  • Registered Users, Registered Users 2 Posts: 492 ✭✭Major Lovechild


    1
    1 1
    2 1
    1 2 1 1
    1 1 1 2 2 1
    3 1 2 2 1 1

    Wo ist die Gemütlichkeit?



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,459 ✭✭✭Blisterman


    Explanation?


  • Registered Users, Registered Users 2 Posts: 480 ✭✭Flyin Irishman


    Blisterman wrote: »
    Explanation?
    Each line describes what was in the line before it

    So if we start with the first line:
    1

    Then, the next:
    11 - There was one one in the previous line

    And so on:

    21 - There were two ones in the last line
    1211 - There was one two and one one
    111221 - There was one one, one two and two ones

    Its a silly puzzle but its often taught in computer courses as it is used as a simple compression algorithm for computer files.


Advertisement