any bit in a binary sum - general formula ?



Hello,

I am looking for a general formula witch could produce the value of the
given nth bit of a sum of 0 and 1.

example:
each xi is equal to 0 or equal to 1.
sum(x1, .., xn) / bit0 = x1 XOR x2 XOR x3 XOR .... XOR xn
sum(x1,x2) / bit 1 = x1 AND x2.

sum( x1,...,xn) / bit Y = ?????

.



Relevant Pages

  • RE: How to sum every 2nd or 3rd row
    ... Summing to any Nth value is quite easy in Excel: ... You can easily sum every Nth cell in a column range. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: abundance of irrationals!)
    ... > being different from the nth number at the nth decimal place. ... Consider my sum in exactly the same way as you consider ... Not the number of mathematicians is important. ... > And your way fails according to only one non-mathematician. ...
    (sci.math)
  • Re: c#
    ... If how to calcs the sum of typed nums, then read your typed data, parse it to get the list of nums and add them iterating through the list ... enter a nth number then disw play the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Adding Multiple Values
    ... First, you don't use SUM as well as +, they do the same thing. ... to get every nth, use ... HTH ... (remove nothere from the email address if mailing direct) ...
    (microsoft.public.excel)