Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → mathmatical sequence question
mathmatical sequence question
2006-05-03, 3:12 PM #1
To get your minds off girls and such here is a little problem I got. What do they call it when they give you a sequence of numbers and you have to figure out the next number in the series? Im trying to make some dynamic table data widths dependant on text size and need the formula to come up with these numbers. Is there some sort of formula I can use to generate a formula for this sequence?

73,89,106,121,162,...

SO comeon kids. Get your mind outta your pants on and onto math!
The tips at the end of shoelaces are called "aglets". Their true purpose is sinister.
2006-05-03, 3:37 PM #2
I take it that sequence (73, 89, 106...) is the column width. Input is text size? What input corresponds with output numbers? That will make a big difference in the series.

For example: 10pt = 73, 8pt = 73?
"Good Asian dubs are like Steven Segal and plot; they just dont appear in the same movie." -Spork
2006-05-03, 3:55 PM #3
Originally posted by DesertPike:
73, 89, 106, 121, 162, ...


73 [+16] 89 [+17] 106 [+15] 121 [+41] 162

It's not arithmetic. I can't help you here. ;)
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2006-05-03, 4:07 PM #4
Edit: Oh you want the closed form. Like a[sub]n[/sub] = 1/(1-r) iff a[sub]n[/sub] is a geometric sequence

Second edit: Does a[sub]0[/sub] = 73 or is this in the middle of a sequence? It's easier to figure out the closed form of a sequence with smaller numbers.
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2006-05-03, 4:10 PM #5
Well assuming that 73 is the first term and 162 is the fifth, I cheated and plugged it into Graph and got this for a fourth order polynomial solution:
1.2916667*x^4-13.416667*x^3+48.708333*x^2-55.583333*x+92

Which makes the next number in the series 288
2006-05-03, 5:03 PM #6
Originally posted by Home_Sliced:
I take it that sequence (73, 89, 106...) is the column width. Input is text size? What input corresponds with output numbers? That will make a big difference in the series.

For example: 10pt = 73, 8pt = 73?


those numbers are the widths of the TD elements
ie <td width="73"></td>

the input is text size
ie. <font size=5></font>

input corresponding with output?
1= 73, 2=89,3=106,4=121,5=162

ie.<td width="73"><font size=1>hello</font></td>

Originally posted by Recusant:
Well assuming that 73 is the first term and 162 is the fifth, I cheated and plugged it into Graph and got this for a fourth order polynomial solution:
1.2916667*x^4-13.416667*x^3+48.708333*x^2-55.583333*x+92

Which makes the next number in the series 288


As for this, it would be useful I guess but what is a power of what , you need some brackets in there.

Originally posted by JediGandalf:
Edit: Oh you want the closed form. Like a[sub]n[/sub] = 1/(1-r) iff a[sub]n[/sub] is a geometric sequence

Second edit: Does a[sub]0[/sub] = 73 or is this in the middle of a sequence? It's easier to figure out the closed form of a sequence with smaller numbers.


Yes 73 is the beginning of hte sequence

PS, thanks guys this has been some help.
The tips at the end of shoelaces are called "aglets". Their true purpose is sinister.
2006-05-03, 9:52 PM #7
That's going to be tough to find because the html font size do not increase at any regular interlude. I haven't done html coding in awhie, but I think the "size" tag can be interpreted uniquely on each individual machine depending on your settings.

On my machine:

Size 1 = 7 pt
Size 2 = 9 pt
Size 3 = 12 pt
Size 4 = 14 pt
Size 5 = 18 pt
Size 6 = 24 pt
Size 7 = 36 pt

The pt size is what's really effecting your column widths.
"Good Asian dubs are like Steven Segal and plot; they just dont appear in the same movie." -Spork
2006-05-03, 10:53 PM #8
Recusant's polynomial reads:
a[sub]n[/sub]=1.2916667n[sup]4[/sup]-13.416667n[sup]3[/sup]+48.708333n[sup]2[/sup]-55.583333n+92

Increased size for ease of reading.

By the way. I've made new tags. They are {sup} and {sub} (replace { with [ )
So to do x[sup]4[/sup] you do x{sup}4{/sup}
Similarly with the sub tag.

Edit: formatted it like a typical mathematical sequence.
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2006-05-04, 12:09 AM #9
Wouldn't it be simpler to specify the width in em units?
2006-05-04, 6:33 AM #10
Why are you specifying cell widths?

I'm sure you have reasons, but I can't think of any.
Detty. Professional Expert.
Flickr Twitter
2006-05-04, 9:32 AM #11
Originally posted by Detty:
Why are you specifying cell widths?

I'm sure you have reasons, but I can't think of any.


Its for a layout issue. I have instead gone another way thats not quite as pretty but still acceptable. Thanks for the help though guys/girls/badgers
The tips at the end of shoelaces are called "aglets". Their true purpose is sinister.
2006-05-04, 2:16 PM #12
Originally posted by JediGandalf:
Recusant's polynomial reads:
a[sub]n[/sub]=1.2916667n[sup]4[/sup]-13.416667n[sup]3[/sup]+48.708333n[sup]2[/sup]-55.583333n+92

Increased size for ease of reading.

By the way. I've made new tags. They are {sup} and {sub} (replace { with [ )
So to do x[sup]4[/sup] you do x{sup}4{/sup}
Similarly with the sub tag.

Edit: formatted it like a typical mathematical sequence.

Hey nice, I was wondering when we'd get those. :)
2006-05-04, 7:49 PM #13
GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS GIRLS
The cake is a lie... THE CAKE IS A LIE!!!!!
2006-05-04, 8:06 PM #14
Mushroom, mushroom!
幻術

↑ Up to the top!