Theory of the generalized modified Bessel function K_{z,w}(x) and 2-adic valuations of integer sequences.