|
Turn The Screws! Open your eyes, look in front, look at the back, look at any angle and you will see something that is an engineer's creation. Engineers have been making things possible that others could only imagine. It perfectly makes sense to have a common place for engineers from around the world where they can share ideas, innovate, & help each other. Engineers are eternal, with the younger at 62 & the youngest at 17, the CEan gang consists of working professionals, students, entrepreneurs, CEOs, professors, geeks & nerds. Need we say more? Click Here To Join The Gang! |
![]() |
|
Good Administrator
![]() ![]() |
Puzzle Taken from Mind and Visual Puzzles! -
The parrot sequence Gaston owns a clever parrot called Paco which can describe out loud numbers read from a piece of paper displayed in front of him. One day Gaston tried this funny experiment: he wrote the digit 1 on a sheet and showed it to Paco, who answered “one 1”. Gaston wrote down the parrot’s answer “one 1” or ‘11’ on a new sheet and showed it to Paco, who readily answered “two 1’s”. Again, Gaston wrote down his reply “two 1’s” or ‘21’ on another sheet and showed it to Paco, who replied “one 2, one 1” or ‘1211’... Gaston continued this experiment until he obtained a long sequence of numbers 1, 11, 21, 1211, 111221, 312211, etc... in which each next term is obtained by describing the previous term. Can you say how many sheets of paper Gaston will need until: a) the string of digits 333 appears, or b) the digit 4 occurs in the sequence? Can you also confirm that the last digit of any term of the parrot sequence is always 1? ![]()
__________________
-The Big K- Founder & Administrator ¤ The Big K’s Superblog™ ¤ About CE ¤ Small Talk ¤ CE Quick Start Guide for New Members ¤ Contact |
|
|
|
| Sponsored links | |
|
|
|
|
Good Administrator
![]() ![]() |
No Takers? Too tough for the CEans?
__________________
-The Big K- Founder & Administrator ¤ The Big K’s Superblog™ ¤ About CE ¤ Small Talk ¤ CE Quick Start Guide for New Members ¤ Contact |
|
|
|
| Sponsored links | |
|
|
|
|
CE - Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
I'm a Crazy Electronics Hacker & Engineer
Join Date: 2nd October 2006 Location: Dubai, UAE
Posts: 566
|
Mahul's explanation is good
Can anyone write a psudo code for this? like give 15 sequences. or 30 sequences etc? I tore my hair out while trying to write it in Python...good one! give moreee!
__________________
MY BLOG (Checkitout for Robotics, Hardware Hacks and more) |
|
|
|
|
CE - Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
I'm a Crazy Electronics Hacker & Engineer
Join Date: 2nd October 2006 Location: Dubai, UAE
Posts: 566
|
Yes that. And hell, it can be difficult for new programmers like me. I havent used C for so long. Presently i am on Python.
Actually, just today I wrote the draft code for the parrot seq. Next step is to take any input and keep writing till <x> sequences are complete. Yea, so try to write the code. This can be a competition too. We can have coding competitions
__________________
MY BLOG (Checkitout for Robotics, Hardware Hacks and more) |
|
|
|
| Sponsored links | |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.crazyengineers.com/forum/ce-quiz-puzzles-mathematics/2081-tough-puzzle-parrot-sequence-crack.html
|
||||
| Posted By | For | Type | Date | |
| Uniting Engineers Across The World ! | This thread | Refback | 16th April 2008 11:13 AM | |
| Contact Us - Home - Impressum | Impressum - Archive |