All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Sequence of Musical Tones (Posted on 2004-12-14) Difficulty: 2 of 5
Music on the planet Alpha Lyra IV consists of only two notes, called A and B. Also, songs never include three consecutive repetitions of any sequence nor does BB ever occur. A sequence of notes can have 1 or more notes in it.

What is the longest song on Alpha Lyra IV?

See The Solution Submitted by Erik O.    
Rating: 3.8333 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: question about answr Comment 20 of 20 |
(In reply to question about answr by Arjun)

Under the provisions governing to the problem under reference, three consecutive occurence of the letter "A" is deemed invalid.

However, the the maximum number of consecutive occurence of the letter "A" in the string "AABABAABABAABAAB" is two, which is fully in conformity with the conditions of the problem.


  Posted by K Sengupta on 2008-12-19 14:23:42
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information