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

 


Value of row n in triangle A166360 when seen as binary number.
3

%I #5 Oct 10 2013 08:08:06

%S 1,3,7,9,17,51,127,129,257,771,1799,2313,4369,13107,32767,32769,65537,

%T 196611,458759,589833,1114129,3342387,8323199,8454273,16843009,

%U 50529027,117901063,151587081,286331153,858993459,2147483647,2147483649,4294967297,12884901891

%N Value of row n in triangle A166360 when seen as binary number.

%C a(n) = sum(A166360(n,k)*2^(k-1): k=1..n).

%H Reinhard Zumkeller, <a href="/A230116/b230116.txt">Table of n, a(n) for n = 1..1000</a>

%e . n A166360(n,1..n) A007088(a(n)) a(n)

%e . --- ----------------------------- --------------- -----

%e . 1 1 1 1

%e . 2 1 1 11 3

%e . 3 1 1 1 111 7

%e . 4 1 0 0 1 1001 9

%e . 5 1 0 0 0 1 10001 17

%e . 6 1 1 0 0 1 1 110011 51

%e . 7 1 1 1 1 1 1 1 1111111 127

%e . 8 1 0 0 0 0 0 0 1 10000001 129

%e . 9 1 0 0 0 0 0 0 0 1 100000001 257

%e . 10 1 1 0 0 0 0 0 0 1 1 1100000011 771

%e . 11 1 1 1 0 0 0 0 0 1 1 1 11100000111 1799

%e . 12 1 0 0 1 0 0 0 0 1 0 0 1 100100001001 2313

%e . 13 1 0 0 0 1 0 0 0 1 0 0 0 1 1000100010001 4369

%e . 14 1 1 0 0 1 1 0 0 1 1 0 0 1 1 11001100110011 13107

%e . 15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 111111111111111 32767 .

%o (Haskell)

%o a230116 = foldr (\u v-> 2*v + u) 0 . map toInteger . a166360_row

%Y Cf. A001317, A001263.

%K nonn

%O 1,2

%A _Reinhard Zumkeller_, Oct 10 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 08:30 EDT 2024. Contains 376097 sequences. (Running on oeis4.)