Digital logic: functions


#1

What are the total number of functions possible with 5 Boolean variables??


#2

For 0 variable , we have 2 functions that are true and false.For 1 variable the functions are true , false, flip, identityi.e 4 functions.For 2variable ,16 functions are possible like xor,implies etc.If u observe the pattern then for n variable we can have 2^(2^n) functions.for 5 variable possible functions are 2^(2^5)=2^32 functions