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.

Showing 1-2 of 2 results.

A170929 When regarded as a triangle, the rows of A168131 converge to this sequence.

Original entry on oeis.org

1, 4, 5, 3, 7, 17, 17, 7, 6, 13, 13, 13, 32, 55, 45, 15, 6, 13, 13, 13, 31, 51, 41, 20, 25, 39, 39, 58, 120, 159, 109, 31, 6, 13, 13, 13, 31, 51, 41, 20, 25, 39, 39, 58, 119, 155, 105, 36, 25, 39, 39, 57, 113, 143, 102, 65, 89, 117, 136, 236, 400, 431, 253, 63, 6, 13, 13, 13, 31
Offset: 0

Views

Author

N. J. A. Sloane, Feb 04 2010

Keywords

Formula

Sum_{i=0 .. 2^k - 1} a(i) = 4^i - 2^i - 2 for k >= 2 (cf. A170940).

A173521 a(n) is the concatenation of n 1's, 0, n 1's and 0.

Original entry on oeis.org

0, 1010, 110110, 11101110, 1111011110, 111110111110, 11111101111110, 1111111011111110, 111111110111111110, 11111111101111111110, 1111111111011111111110, 111111111110111111111110
Offset: 0

Views

Author

Omar E. Pol, Mar 16 2010

Keywords

Comments

a(n) is also A170940(n+1) written in base 2.

Examples

			n ............... a(n)
0 ................ 0
1 ............... 1010
2 .............. 110110
3 ............. 11101110
4 ............ 1111011110
5 ........... 111110111110
6 .......... 11111101111110
7 ......... 1111111011111110
8 ........ 111111110111111110
9 ....... 11111111101111111110
		

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[Join[PadRight[{},n,1],{0},PadRight[{},n,1],{0}]],{n,0,20}] (* Harvey P. Dale, Feb 25 2012 *)
  • PARI
    Vec(10*x*(200*x-101)/((x-1)*(10*x-1)*(100*x-1))  + O(x^100)) \\ Colin Barker, Sep 17 2013

Formula

G.f.: 10*x*(200*x-101) / ((x-1)*(10*x-1)*(100*x-1)). [Colin Barker, Sep 17 2013]
Showing 1-2 of 2 results.