cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A230116 #5 Oct 10 2013 08:08:06
%S A230116 1,3,7,9,17,51,127,129,257,771,1799,2313,4369,13107,32767,32769,65537,
%T A230116 196611,458759,589833,1114129,3342387,8323199,8454273,16843009,
%U A230116 50529027,117901063,151587081,286331153,858993459,2147483647,2147483649,4294967297,12884901891
%N A230116 Value of row n in triangle A166360 when seen as binary number.
%C A230116 a(n) = sum(A166360(n,k)*2^(k-1): k=1..n).
%H A230116 Reinhard Zumkeller, <a href="/A230116/b230116.txt">Table of n, a(n) for n = 1..1000</a>
%e A230116 .   n         A166360(n,1..n)             A007088(a(n))    a(n)
%e A230116 . ---  -----------------------------    ---------------   -----
%e A230116 .   1                1                                1       1
%e A230116 .   2               1 1                              11       3
%e A230116 .   3              1 1 1                            111       7
%e A230116 .   4             1 0 0 1                          1001       9
%e A230116 .   5            1 0 0 0 1                        10001      17
%e A230116 .   6           1 1 0 0 1 1                      110011      51
%e A230116 .   7          1 1 1 1 1 1 1                    1111111     127
%e A230116 .   8         1 0 0 0 0 0 0 1                  10000001     129
%e A230116 .   9        1 0 0 0 0 0 0 0 1                100000001     257
%e A230116 .  10       1 1 0 0 0 0 0 0 1 1              1100000011     771
%e A230116 .  11      1 1 1 0 0 0 0 0 1 1 1            11100000111    1799
%e A230116 .  12     1 0 0 1 0 0 0 0 1 0 0 1          100100001001    2313
%e A230116 .  13    1 0 0 0 1 0 0 0 1 0 0 0 1        1000100010001    4369
%e A230116 .  14   1 1 0 0 1 1 0 0 1 1 0 0 1 1      11001100110011   13107
%e A230116 .  15  1 1 1 1 1 1 1 1 1 1 1 1 1 1 1    111111111111111   32767 .
%o A230116 (Haskell)
%o A230116 a230116 = foldr (\u v-> 2*v + u) 0 . map toInteger . a166360_row
%Y A230116 Cf. A001317, A001263.
%K A230116 nonn
%O A230116 1,2
%A A230116 _Reinhard Zumkeller_, Oct 10 2013