The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
18 views

An $n-$variable Boolean function $f:\{0,1\}^n \rightarrow \{0,1\} $ is called symmetric if its value depends only on the number of $1’s$ in the input. Let $\sigma_n $ denote the number of such functions.

  1. Calculate the value of $\sigma_4$.
  2. Derive an expression for $\sigma_n$ in terms of $n$.
asked in Set Theory & Algebra by Boss (40.9k points) | 18 views

1 Answer

0 votes
Since, the value of the function is dependent only on the number of 1's in the n-bit string .
The possible number of ones are : 0,1,2......,n. There are n+1 possibilities.
Now map each of these possibilities of number of ones to 0 or 1.

Therefore no. of such functions = $2^{n+1}$.

$\sigma_4$=$2^{4+1}$=32
answered by Active (2.1k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,808 questions
54,481 answers
188,247 comments
74,517 users