 |
|
06-27-2009
|
#1 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
An integer sequence puzzle
Consider the integer sequence beginning with these 512 integers: 1,2,2,2,3,3,3,2,3,4,5,3,4,4,4,2,3,4,5,4,6,6,3,3,5, 5,6,4,5,5,5,2,3,4,5,4,6,6,7,4,5,7,7,6,8,4,4,3,5,6, 5,5,8,7,7,4,6,6,7,5,6,6,6,2,3,4,5,4,6,6,7,4,6,7,9, 6,7,8,5,4,6,6,8,7,7,8,7,6,9,9,5,4,6,5,5,3,5,6,6,6, 9,6,7,5,6,9,8,7,8,8,4,4,7,7,8,6,9,8,8,5,7,7,8,6,7, 7,7,2,3,4,5,4,6,6,7,4,6,7,9,6,8,8,9,4,5,7,7,7,9,10 ,6,6,9,8,10,8,5,6,6,4,6,7,9,6,8,9,9,7,9,8,8,8,9,8, 9,6,8,10,9,9,13,6,6,4,7,7,6,5,7,6,6,3,5,6,6,6,9,7, 8,6,9,10,8,6,6,8,8,5,7,7,10,9,8,9,7,7,11,9,10,8,10 ,5,5,4,7,8,7,7,9,9,7,6,6,10,11,8,10,9,9,5,8,8,9,7, 10,9,9,6,8,8,9,7,8,8,8,2,3,4,5,4,6,6,7,4,6,7,9,6,8 ,8,9,4,6,7,9,7,10,10,5,6,8,9,9,8,9,10,6,4,6,6,8,7, 10,8,10,7,7,10,10,10,9,7,8,6,9,10,7,8,11,11,10,8,1 1,6,8,6,6,7,7,4,6,7,9,7,9,10,8,6,9,9,12,9,8,10,9,7 ,10,10,8,8,9,9,9,8,9,10,10,8,11,10,7,6,9,9,9,10,11 ,10,12,9,10,14,7,6,6,7,6,4,8,8,8,7,11,7,7,5,8,8,7, 6,8,7,7,3,5,6,6,6,9,7,8,6,9,10,9,7,10,9,10,6,7,10, 10,10,7,9,7,6,9,7,10,8,8,9,6,5,8,8,10,7,9,11,11,9, 7,9,8,9,11,8,9,7,9,12,9,9,12,11,9,8,12,11,12,5,7,6 ,6,4,7,8,8,8,8,8,8,7,11,10,12,9,10,8,8,6,8,7,11,10 ,11,12,8,8,11,11,10,9,10,10,5,5,9,9,10,8,11,10,11, 7,8,11,12,9,11,10,10,6,9,9,10,8,11,10,10,7,9,9,10, 8,9,9,9,2
The puzzle is simple: find an expression that generates the sequence.
There’s only one rule: the answer can’t be a degree 511 polynomial that generates these 512 values. You’re welcome to post this answer just to show off your (or your computer’s  ) polynomial fitting skills, but it won’t count as a win.
Hints: - The sequence isn’t (to the best of my knowledge) generatable by a simple polynomial
- I generated it using
- A generalization of the coefficients of the expected values in this post
- Something involving base 2 (binary) numbers
- If you know the answer, you’d almost certainly know how to generate the sequence that begins with the following 512 numbers:
1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3, 3,4,3,4,4,5,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3, 4,3,4,4,5,3,4,4,5,4,5,5,6,1,2,2,3,2,3,3,4,2,3,3,4, 3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3, 4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6, 6,7,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4, 5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6, 3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,2,3,3,4,3,4,4,5,3, 4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4, 4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6, 7,6,7,7,8,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4, 3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4, 5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,2,3,3,4,3,4, 4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6, 7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7, 5,6,6,7,6,7,7,8,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3, 4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5, 5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,3,4,4, 5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7, 6,7,7,8,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,5,6,6,7,6, 7,7,8,6,7,7,8,7,8,8,9,1
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
06-30-2009
|
#2 (permalink)
|
|
Creating
|
Not Ranked
:
+0 / -0
0 score
Re: An integer sequence puzzle
Frustrating. [edit: In a good way  ]
I figured out the second sequence, but I can't figure out a way to make an expression of it. For the integer 10:
A(2 0)+B(2 1)+C(2 2)+D(2 3)
I realize what A, B, C, and D represent as it relates to binary numbers (that A and C should be zero while B and D are one), but I cannot figure out how to make an expression realize it.
I would think A somehow represents that 10/2 has a remainder of zero, B that 5/2 has r=1, C that 2/2 has r=0, and D that 1/2 has r=1.
That's a guess, and I'm stuck.
~modest
Last edited by modest; 06-30-2009 at 04:54 AM..
|
|
07-02-2009
|
#3 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
Another hint
Here’s an example of a sequence generated using only the first 100 integers and the “something involving base 2 (binary) numbers” part of the algorithm used to generate the puzzle sequence:
1
1
2 1
2 2 3 1
2 2 3 2 3 3 4 1
2 2 3 2 3 3 4 2 3 3 4 3 4 4 5 1
2 2 3 2 3 3 4 2 3 3 4 3 4 4 5 2 3 3 4 3 4 4 5 3 4 4 5 4 5 5 6 1
2 2 3 2 3 3 4 2 3 3 4 3 4 4 5 2 3 3 4 3 4 4 5 3 4 4 5 4 5 5 6 2 3 3 4 3
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
07-11-2009
|
#4 (permalink)
|
|
Creating
|
Not Ranked
:
+0 / -0
0 score
Re: An integer sequence puzzle
Could you verify that I have interpreted your second sequence correctly? (I dare not say: usefully) That is, summing the digits in a binary count base 10 = binary => binary sum = digit in sequence1 = 1 => 1 = 1
2 = 10 => 1+0 = 1
3 = 11 => 1+1 = 2
4 = 100 => 1+0+0 = 1
5 = 101 => 1+0+1 = 2
6 = 110 => 1+1+0 = 2
7 = 111 => 1+1+1 = 3
8 = 1000 => 1+0+0+0 = 1
9 = 1001 => 1+0+0+1 = 2
10 = 1010 => 1+0+1+0 = 2 gives the sequence 1,1,2,1,2,2,3,1,2,2... For which you say “If you know the answer, you’d almost certainly know how to generate the sequence that begins with the following 512 numbers:”. If this is indeed the way the second sequence was meant to be interpreted then you could perhaps give a nod.
~modest
|
|
07-11-2009
|
#5 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
One step of the puzzle solved
Quote:
Originally Posted by modest
Could you verify that I have interpreted your second sequence correctly?
|
Yes, you have.
I’m honestly not sure if anyone short of an intuitive mathematical genius (not that I’m suggesting modest, or any other member, isn’t  ) could guess the next parts of the puzzle without my post #1 clue linking to this post, so modest or any other puzzler, please don't feel restrained in followin it, unless you're committed to an excercise in intuition, or some formal method beyond my comprehension.
In the interest of not excessively teasing at the puzzle, I’ll throw out another clue: rational numbers.
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
07-12-2009
|
#6 (permalink)
|
|
Percipient

Sponsor |
|
Not Ranked
:
+0 / -0
0 score
Re: One step of the puzzle solved
Quote:
Originally Posted by CraigD
Yes, you have.
I’m honestly not sure if anyone short of an intuitive mathematical genius (not that I’m suggesting modest, or any other member, isn’t  ) could guess the next parts of the puzzle without my post #1 clue linking to this post, so modest or any other puzzler, please don't feel restrained in followin it, unless you're committed to an excercise in intuition, or some formal method beyond my comprehension.
In the interest of not excessively teasing at the puzzle, I’ll throw out another clue: rational numbers.
|
i would never have seen that!  still, it wasn't for a lack of looking.  anyway, i keep looking at your 'clue' post & either i'm missing something even more obvious or you have made an error. to whit:
Quote:
|
Originally Posted by Craig
For example, the expected value of a fair 6-sided die roll is

which can be confirmed by noting that, after many die roles, the average roll approaches 3.5
|
since  =  and  =  , aren't we already up to  and with the 4 other terms aren't we at  ? 
----------------
 i think you have to judge people's opinions not by their words, but by their deeds.
~ douglas r. hofstadter ~
|
|
07-12-2009
|
#7 (permalink)
|
|
Creating
Location: Silver Spring, MD, USA
|
Not Ranked
:
+0 / -0
0 score
Algebraic notation's traditional implied multiplication
Quote:
Originally Posted by Turtle
.. anyway, i keep looking at your 'clue' post & either i'm missing something even more obvious or you have made an error. to whit:
Quote:
|
Originally Posted by Craig
For example, the expected value of a fair 6-sided die roll is

which can be confirmed by noting that, after many die roles, the average roll approaches 3.5.
|
since  =  and  =  , aren't we already up to  and with the 4 other terms aren't we at  ? 
|
I believe you’re missing the traditional algebraic implied multiplication operator, Turtle.
That is
means

, not

, as you’re reading it.
----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies 
|
|
07-12-2009
|
#8 (permalink)
|
|
Percipient

Sponsor |
|
Not Ranked
:
+0 / -0
0 score
Re: Algebraic notation's traditional implied multiplication
Quote:
Originally Posted by CraigD
I believe you’re missing the traditional algebraic implied multiplication operator, Turtle.
That is
means

, not

, as you’re reading it.
|
 roger. i'm back on it like an implied operator. 
----------------
 i think you have to judge people's opinions not by their words, but by their deeds.
~ douglas r. hofstadter ~
|
|
07-12-2009
|
#9 (permalink)
|
|
Percipient

Sponsor |
|
Not Ranked
:
+0 / -0
0 score
Re: An integer sequence puzzle
computer was off, i was in bed, & on the verge of sleep, but something about Craig making his list the first 512 elements kept nagging me. so 512 is  and in binary that's 1000000000. so, every power of 2 the sequence gets back to one and then repeats the last pattern until every element is used, then takes that same pattern again but adds 1 to every element. each new group contains  more elements than the last. (mathspeak for every group is twice as big as the last.  ) the separated line below in the code box is my addition of the next group, but it's not complete, but it's late & i'm outa steam.
Code:
1,
1,2,
1,2,2,3,
1,2,2,3,2,3,3,4,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,5,6,6,7,6,7,7,8,6,7,7,8,7,8,8,9,
1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,3,4,4,5,4,5,5,6,4,5,5,6,5,6,6,7,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8,5,6,6,7,6,7,7,8,6,7,7,8,7,8,8,9,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,3, 4,4,5,4,5,5,6,4...
----------------
 i think you have to judge people's opinions not by their words, but by their deeds.
~ douglas r. hofstadter ~
|
|
07-14-2009
|
#10 (permalink)
|
|
Percipient

Sponsor |
|
Not Ranked
:
+0 / -0
0 score
Re: An integer sequence puzzle
yes? no? maybe? 
----------------
 i think you have to judge people's opinions not by their words, but by their deeds.
~ douglas r. hofstadter ~
|
|
 |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
number sequence
|
cockydude |
Science Projects and Homework |
1 |
05-21-2007 06:16 PM |
|
Number sequence
|
anto |
Science Projects and Homework |
72 |
05-18-2007 10:12 AM |
|
Sequence and series trivia
|
Mohit Pandey |
Physics and Mathematics |
14 |
09-18-2006 08:31 AM |
|
Sequence 0-100
|
dennislopes |
Physics and Mathematics |
9 |
05-04-2005 04:55 AM |
|
» Advertisement |
|
|
|