Member Login
Posted: 9/20/2004 4:00:03 PM EDT
256, 16, 4, 2, then what?
i see that 2x2=4, 4x4=16, etc, but what times itself is 2? 


square root of 2, or 2^(1/2)



Team Member residing in occupied Californistan
CA, USA

The square root of 2, approximately 1.414 


It's a "complex" number. (Seriously, that's the real name) Denoted as Square Root of 2, with the little Square root bar.



thanks



y = sqrt(x), where x is real, is by definition the positive (and thus real) number with the property that y*y = x. 

Aragron: "What do you fear my lady?"
Eowyn: "A cage. To stay behind bars until use and old age accept them. And all chance of valor has gone beyond recall or desire." 
Mmmk, so what do we get for helping you with your homework?



note to self, check math before posting



Seems obvious to me :
256 = 2^8 16 = 2^4 4 = 2^2 2 = 2^1 1 = 2^0 But then I'm a software engineer, and we tend to think in binary anyhow. And, obviously, I work in integer math . 


what he said! 

International Scoutanything less is just a car

wolffie,
It's not a complex number, it's an irrational number. Complex numbers contain a factor of the square root of negative one which this number does not have. An irrational number has no repeating sequence, and an infinite number of digits to define it. 


but the pattern does not work...you are missing all of the binary digits 2^3, 2^5, 2^6, 2^7 of the 9 bits
Also, if you are trying to pattern the 8,4,2,1,0 then what is the pattern? divide the exponent by 2? then explain the zero... it would be 1/2, as in the square root...



Think bitshifting. 


I considered this, but what is the pattern of the bitshift? 1, 1, 2, 4? It is not a well defined series in that sense. 1, 1, 2, 3 I would give you (Fibonacci). 

Aragron: "What do you fear my lady?"
Eowyn: "A cage. To stay behind bars until use and old age accept them. And all chance of valor has gone beyond recall or desire." 
I hate math.



thats what I was thinking, but it fell apart due to the abovementioned missing 2^3 2^5 2^6 and 2^7 

C makes it easy to shoot yourself in the foot.
C++ makes it harder but if you do it blows away your whole leg. 
What the heck are you guys doing here???
The formula is Xn = SQRT(Xn1). Written another way: Xn = (Xn1)^1/2 It was seeded (initialized) with a value (Xo = 65536) such that X1 = SQRT (65536) = 256. n=1, X = 256 n=2, X = 16 n=3, X = 4 n=4, X = 2 n=5, X = SQRT(2) n=6, X = (2)^1/4 n=7, X = (2)^1/8 n..........Xn1............................Xn 0..................................................65536 1..............65536..............................256 2.............. 256..................................16 3..............16.....................................4 4.............. 4......................................2 5.............. 2..............................1.414213562 6.............. 1.414213562..............1.189207115 7.............. 1.189207115..............1.090507733 8.............. 1.090507733..............1.044273782 9.............. 1.044273782..............1.021897149 10............ 1.021897149..............1.010889286 11............ 1.010889286..............1.005429901 12............ 1.005429901..............1.002711275 13............ 1.002711275..............1.00135472 14............ 1.00135472..............1.000677131 


CFII,
If you hate math so much, what is your profession???? 


Ooh ooh ooh, I got it!
The answer is Pi! ... as in I like pi. 

The Republican revolution combined with the baninspired compact semiauto pistol revolution let to concealed carry laws.
Thanks Dianne and Chuckie for letting me carry my pistol legally concealed... I owe it all to you! 
Bitshift is moving all digits left one and adding a zero, dropping off anything greater than 8 bits (or 16, or double, or whatever).
Other words: To multiply by two, left shift one bit, to divide by 2, right shift one bit. Both the irrational solution (2^1/2) and the binary/computeresque solution (powers of 2 to the powers of powers of two) are valid answers with the information given. Without knowing the next in the sequence, we will never know which answer it really is. ETA The irrational solution would continue above approaching 1 as Mike_Mills posted above, the "binary" solution would result in 1's after next step (always 2^0) 

www.chameleonweaponry.com
The person who complains most, and is the most critical of others has the most to hide. 
High drag, low speed, but armed to the teeth!
GA, USA

Not to be a smartass (better than being a dumbass, though ), but this has relevance in real life how?

Duct Tape  It is like the Force. It has a light side and a dark side, and it holds the universe together
GhostShooter 
Well... if you are a programmer, you'd better know a couple of things about bitshift...
Dunno about 20iner's pattern problem though... 

I bought a box of animal crackers. On the box it said 'Do not eat if seal is broken'. So I opened the box and sure enough...

After reading my reply, I notice that 32 and 128 are conspiculously missing from the example sequence.
Therefore it is a squares solution and the answer is 1.414ish (sqrt(2)) 

www.chameleonweaponry.com
The person who complains most, and is the most critical of others has the most to hide. 
1 is the answer as has been explained by the others.
Would it help to know that the number that comes before 256 in that sequence is 65536 and before that would be 4294967296? 


People who can spot patterns and know how to explain and predict the trends can get jobs working in air conditioned buildings. If you lived here in Arizona, you'd know exactly how relevant that was to real life. 


Yep, people who don't know math tend to work for those who do. It's not always true, but is more often true than not.
Want to earn big bucks as you help your nation lead the way in technology, weaponry and economy? LEARN MATH! 


Ok, let me get this straight: 4294967296 (2^32) 65536 (2^16) 256 (2^8) 16 (2^4) 4 (2^2) 2 (2^1) 1 (2^0) So your proposed exponents (bit positions) are 32,16,8,4,2,1,0. Or, if you wish, bit shifts of 16, 8, 4, 2, 1, 1. Sorry, that doesn't compute. 0*2 != 1. 

Aragron: "What do you fear my lady?"
Eowyn: "A cage. To stay behind bars until use and old age accept them. And all chance of valor has gone beyond recall or desire." 
That entire train of reasoning is wrong. The series is as I explained. The next in the series is sqrt(2).



actually, it is ANY shift with ANY base Shifting, by the base, multiplies or divides by the base. Example: in base 10: 1 * 10 = 10 which is 1 shift left (2 * 10 = 20, and so on....) and in base2 = you see above examples here is the digit format for base2 ....,2^7,2^6,2^5,2^4,2^3,2^2,2^1,2^0,2^1,2^2,2^3,2^4,.... 


"Please help quick, it's easy"
So, are you calling yourself a dumbass? 


[butthead] I'm like angry at numbers. [/butthead]
[beavis] Yeah, there's like too many of them an stuff... [/beavis] 


I know. I'm addressing the computer programmers who mumble "bitshift" and don't provide a simple recursive definition, let alone proof. 

Aragron: "What do you fear my lady?"
Eowyn: "A cage. To stay behind bars until use and old age accept them. And all chance of valor has gone beyond recall or desire." 
AR15.COM is the worldâ€™s largest firearm community and is a gathering place for firearm enthusiasts of all types.
From hunters and military members, to competition shooters and general firearm enthusiasts, we welcome anyone who values and respects the way of the firearm.
Subscribe to our monthly Newsletter to receive firearm news, product discounts from your favorite Industry Partners, and more.
Copyright © 19962018 AR15.COM LLC. All Rights Reserved.
Any use of this content without express written consent is prohibited.
AR15.Com reserves the right to overwrite or replace any affiliate, commercial, or monetizable links, posted by users, with our own.