August 31st, 2003, 04:38 PM
I Need HELP!!
hi everybody ... i know i am very very new to this forum ... but i have been working on an assigment for 3 weeks and i did all the questions except one and this one is most important ... the professor said that the others are easy but this one will make a difference ... so i need to find out this one ... dont get mad i am not trying to force you to my assigment but i do not have any choice ... i tried but no luck so for last chance i decided to join this forum ... i hope no one offended ... so here is my question
Develop an algorithm to build following sequence:
... i really need coorperation ... hope you understand me and help me a bit ... best regards to all ...
August 31st, 2003, 07:40 PM
You should really do your homework yourself, or else your education money is wasted and so will your input into the industry you choose. If you can't figure it out, you deserve to get no credit for the question.
September 1st, 2003, 01:23 AM
i did all of them except this one .... and this one is a bonus to me ... thats why i posted this one here ... if i was trying to do my homework online i will post all of the 11 questions here so that i can rid of the questions ... but the problem is no matter i try no luck with this ...
and i am aware that i deserve no credits from this one but at least ideas i need ... then i can figure out what to do
September 2nd, 2003, 04:51 PM
Heh, I keep looking at those numbers, but the pattern used to insert the numbers evades me. The last digits keeps alternating from "1" to "11" which doesn't seem logical.
I hope the class you're taking teaches how to find patterns in a set of numbers. Unless you're suppose to recognize some other algorithm in the numbers that you already learned about.
Darn, now I'm going to be thinking about this all day.
September 2nd, 2003, 05:00 PM
This may help you along the right path. Maybe not...
If you only consider the 1's and the number immediately proceding the 1's, then add up the 1's or multiply by the number proceding it:
(bolded numbers are ignored)
1 = 1
11 = 2
21 = 3 (2x1)
1211 = 4 (1+2*1+1)
111221 = 5 (1+1+1+2*1)
312211 = 6 (3*1+2*1+1)
13112221 = 7 (1+3*1+1+2*1)
1113213211 = 8 (1+1+1+2*1+2*1+1)
September 2nd, 2003, 05:04 PM
Heh, I did a google and found the answer on a web site using the same numbers.
Now NO cheating!
Hint: It's not a math test, it's a logic test.