20200420, 15:57  #45 
"Curtis"
Feb 2005
Riverside, CA
1000001110101_{2} Posts 
Sure, it's the same form but look at where you wrote the equals sign. You wrote that 405 * 2 ^ (10+1)  1 = 263,167. That's not true.

20200420, 17:58  #46  
Random Account
Aug 2009
U.S.A.
3·5·83 Posts 
Quote:
The left side: 405*2^101 405*10241 4147201 414719 The right side: 405*2^(10+1)1 405*2^111 405*20481 8294401 829439 414719 AND 829439 = 263167. 

20200420, 18:12  #47 
"Curtis"
Feb 2005
Riverside, CA
11·383 Posts 
What does this even mean? What definition of "=" do you have in mind here?
Edit: Or, I guess, what definition of "and"? You capitalized and underlined it, so maybe that is the word in question. Last fiddled with by VBCurtis on 20200420 at 18:13 
20200420, 20:53  #48 
Mar 2006
Germany
3·941 Posts 
Your AND you meant as a logical andoperation of both numbers, but that's not what the definition of a SG is and the example I gave.
Please read this article to understand. Your calculation seems correct so far, but you misinterpreted the 'and' and so used a false algorithm to calculate the result. 
20200421, 14:43  #49  
Random Account
Aug 2009
U.S.A.
3·5·83 Posts 
Yes, it is a logical And.
At kar_bon's suggestion, I ran a sample PFGW ABC2 which he provided. I received the same results. I took the & in his example to mean a logical and. Thus, the confusion on my part. PFGW uses && to indicate a logical and. After reading more of the documentation, the & or  indicates multiple expressions on the same line. Each is evaluated separately. I found the below in Wikipedia: Quote:


20200421, 15:19  #50  
Bamboozled!
May 2003
Down not across
17×593 Posts 
Quote:
A logical and to me states that the two Boolean quantities to each side of the operator must both be simultaneously TRUE for the whole to be TRUE. This is exactly what is stated in the Wikipedia definition. A bitwise and when applied to two ordered lists of Boolean quantities of equal size yields another ordered list of Booleans with the same size where each element of the resulting list is TRUE if and only if each corresponding element of the two initial lists are simultaneously TRUE. It is common, though not universal, for a list of Booleans to be represented by the binary representation of an integer. It is also common, though not universal, for a TRUE value to be represented by a 1 and a FALSE value by zero. In hardware circuitry TRUE may be represented either by a high voltage or high current, or a low voltage or low current so careful attention to context is required. 

20200421, 17:04  #51  
Random Account
Aug 2009
U.S.A.
3·5·83 Posts 
Quote:
11001001 is decimal 201 10110101 is decimal 181  10000001 is decimal 129 201 and 181 is 129. I did this in decimal, after doing the binary above, but the determination is done in binary at the machine level. What would appear to be different, on the surface, is actually not. 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Patterns in primes that are primitive roots / Gaps in fullreptend primes  mart_r  Prime Gap Searches  14  20200630 12:42 
A question about primes of a particular form  enzocreti  enzocreti  55  20190427 11:10 
Fascinating Lenovo memory configuration paper  tServo  Hardware  7  20181117 16:28 
Fascinating periodic sequence pairs  doctornash  Other Mathematical Topics  7  20180714 00:06 
question about a chain of primes  firejuggler  Math  31  20140108 18:28 