login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179008 T(n,k) is the base-2 logarithm of the number of n X k binary arrays with no adjacent elements having the mod 2 sum of their neighbors equal. 1

%I #15 Oct 28 2019 23:14:45

%S 1,1,1,2,3,2,1,1,1,1,1,1,3,1,1,1,3,1,1,3,1,2,1,2,5,2,1,2,1,1,1,1,1,1,

%T 1,1,1,3,4,1,5,1,4,3,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,2,7,2,1,2,1,2,1,3,

%U 1,5,3,1,1,3,5,1,3,1,1,1,3,1,1,1,7,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,2

%N T(n,k) is the base-2 logarithm of the number of n X k binary arrays with no adjacent elements having the mod 2 sum of their neighbors equal.

%C T(n,k) is apparently the number of bits (not necessarily arbitrarily chosen ones) whose values may be chosen independently, the rest then being determined.

%H R. H. Hardin, <a href="/A179008/b179008.txt">Table of n, a(n) for n = 1..1984</a>

%F Empirical: Let x = gcd(k+1,2^k).

%F T(n,k) = gcd(n+1,k+1) for k or n even;

%F T(n,k) = gcd(n+1,k+1)-1 for k and n odd with (n+1-x) modulo (2x) = 0;

%F T(n,k) = gcd(n+1,k+1) otherwise.

%e Table starts

%e 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1 2 1 1 1

%e 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1 1 3 1

%e 2 1 3 1 2 1 4 1 2 1 3 1 2 1 4 1 2 1 3 1 2 1 4 1 2 1 3 1 2 1

%e 1 1 1 5 1 1 1 1 5 1 1 1 1 5 1 1 1 1 5 1 1 1 1 5 1 1 1 1 5 1

%e 1 3 2 1 5 1 2 3 1 1 6 1 1 3 2 1 5 1 2 3 1 1 6 1 1 3 2 1 5 1

%e 1 1 1 1 1 7 1 1 1 1 1 1 7 1 1 1 1 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0

%e 0 1 0 1 1 0 1 0

%e 0 0 1 0 0 1 0 0

%e 0 1 0 1 1 0 1 0

%e 0 0 0 0 0 0 0 0

%K nonn,tabl

%O 1,4

%A _R. H. Hardin_, Jan 03 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)