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.

Previous Showing 51-53 of 53 results.

A160572 Elements of A160444, pairs of consecutive entries swapped.

Original entry on oeis.org

1, 0, 1, 1, 4, 2, 10, 6, 28, 16, 76, 44, 208, 120, 568, 328, 1552, 896, 4240, 2448, 11584, 6688, 31648, 18272, 86464, 49920, 236224, 136384, 645376, 372608, 1763200, 1017984, 4817152, 2781184, 13160704, 7598336, 35955712, 20759040, 98232832
Offset: 1

Views

Author

Willibald Limbrunner (w.limbrunner(AT)gmx.de), May 20 2009

Keywords

Comments

The case k=3 of a family of sequences defined by a(1)=1, a(2)=0, a(2n+1)=a(2n-1)+k*a(2n), a(2n+2)=a(2n)+a(2n-1), each congruent to one of the sequences mentioned in A160444 by pairwise interchanges. The case k=2 is covered by swapping pairs in A002965.
Each of the two subsequences b(n) obtained by bisection has a limiting ratio b(n+1)/b(n)=1+sqrt(k) by Binet's Formula. In a logarithmic plot of the sequence a(n) one therefore sees a staircase, the two edges at each step alternately marked by one of the two subsequences.
Matrix M = [[1 3] [1 1]] is iterated with starting vector [1 0]^T. Since M has eigenvectors [+-sqrt(3) 1]^T with eigenvalues 1 +- sqrt(3), we have lim xn/yn = 1+sqrt(3) for all nonzero integer starting vectors. - Hagen von Eitzen, May 22 2009

Examples

			k=2: 1,0,1,1,3,2,7,5,17,12,41,29,99,70,239,169,577,408,1393,985
k=3: 1,0,1,1,4,2,10,6,28,16,76,44,208,120,568,328,1552... (here)
k=4: 1,0,1,1,5,2,13,7,41,20,121,61,365,182,1093,547,3281,..
k=5: 1,0,1,1,6,2,16,8,56,24,176,80,576,256,1856,832,6016,2688,..
k=6: 1,0,1,1,7,2,19,9,73,28,241,101,847,342,2899,1189,..
k=7: 1,0,1,1,8,2,22,10,92,32,316,124,1184,440,4264,1624,..
k=8: 1,0,1,1,9,2,25,11,113,36,401,149,1593,550,5993,2143,..
k=9: 1,0,1,1,10,2,28,12,136,40,496,176,2080,672,8128,2752,..
k=10: 1,0,1,1,11,2,31,13,161,44,601,205,2651,806,10711,3457,..
		

Crossrefs

Cf. A160444, A002605 (bisection), A026150 (bisection).

Formula

a(2*n+1)=A160444(2*n+2). a(2*n+2)=A160444(2*n+1).
G.f.: -x*(1-x^2+x^3)/(-1+2*x^2+(k-1)*x^4). a(n)=2*a(n-2)+(k-1)*a(n-4) at k=3. - R. J. Mathar, May 22 2009
a(1)=1, a(2)=0, and for n>=1: a(2*n+1) = a(2*n-1)+3*a(2*n), a(2*n+2) = a(2*n+1)+a(2*n). Or: Let c1 = 1+sqrt(3), c2 = 1-sqrt(3). Then a(2*n+1) = (c1^n + c2^n)/2, a(2*n+2) = (c1^n - c2^n)/(2*sqrt(3)) for n >= 0. - Hagen von Eitzen, May 22 2009

Extensions

Edited by R. J. Mathar, May 22 2009

A210239 Triangle, read by rows, given by (2, -1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (2, -1/2, -1/2, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.

Original entry on oeis.org

1, 2, 2, 2, 5, 3, 2, 9, 12, 5, 2, 13, 28, 25, 8, 2, 17, 52, 74, 50, 13, 2, 21, 84, 167, 177, 96, 21, 2, 25, 124, 320, 470, 397, 180, 34, 2, 29, 172, 549, 1041, 1211, 850, 331, 55, 2, 33, 228, 870, 2034, 3042, 2928, 1758, 600, 89
Offset: 0

Views

Author

Philippe Deléham, Mar 19 2012

Keywords

Examples

			Triangle begins :
1
2, 2
2, 5, 3
2, 9, 12, 5
2, 13, 28, 25, 8
2, 17, 52, 74, 50, 13
2, 21, 84, 167, 177, 96, 21
2, 25, 124, 320, 470, 397, 180, 34
		

Crossrefs

Cf. A000045, A026150, A112087 (3rd column, n>2).

Formula

G.f.: (1+x+y*x)/(1-x-y*x-y*x^2-y^2*x^2).
T(n,k) = T(n-1,k) + T(n-1,k-1) + T(n-2,k-1) + T(n-2,k-2), T(0,0) = 1, T(1,0) = T(1,1) = 2 and T(n,k) = 0 if k<0 or if k>n.
Sum_{k, 0<=k<=n} T(n,k)*x^k = A122803(n), A000007(n), A040000(n), A026150(n+1) for x = -2, -1, 0, 1 respectively.
T(n,n) = Fibonacci(n+2) = A000045(n+2), T(n+1,n) = A067331(n).

A238160 A skewed version of triangular array A029653.

Original entry on oeis.org

1, 0, 2, 0, 1, 2, 0, 0, 3, 2, 0, 0, 1, 5, 2, 0, 0, 0, 4, 7, 2, 0, 0, 0, 1, 9, 9, 2, 0, 0, 0, 0, 5, 16, 11, 2, 0, 0, 0, 0, 1, 14, 25, 13, 2, 0, 0, 0, 0, 0, 6, 30, 36, 15, 2, 0, 0, 0, 0, 0, 1, 20, 55, 49, 17, 2, 0, 0, 0, 0, 0, 0, 7, 50, 91, 64, 19, 2, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Philippe Deléham, Feb 18 2014

Keywords

Comments

Triangle T(n,k), 0<=k<=n, read by rows, given by (0, 1/2, -1/2, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (2, -1, 0, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
Row sums are Fib(n+2).
Column sums are A003945(k).
Diagonal sums are (-1)^(n+1)*A109266(n+1).
T(3*n,2*n) = A029651(n).

Examples

			Triangle begins:
1;
0, 2;
0, 1, 2;
0, 0, 3, 2;
0, 0, 1, 5, 2;
0, 0, 0, 4, 7, 2;
0, 0, 0, 1, 9, 9, 2;
0, 0, 0, 0, 5, 16, 11, 2;
0, 0, 0, 0, 1, 14, 25, 13, 2;
0, 0, 0, 0, 0, 6, 30, 36, 15, 2;
0, 0, 0, 0, 0, 1, 20, 55, 49, 17, 2;
0, 0, 0, 0, 0, 0, 7, 50, 91, 64, 19, 2;
...
		

Crossrefs

Formula

G.f.: (1+x*y)/(1-x*y-x^2*y).
T(n,k) = T(n-1,k-1) + T(n-2,k-1), T(0,0) = 1, T(1,0) = 0, T(1,1) = 2, T(n,k) = 0 if k<0 or if k>n.
Sum_{k=0..n} T(n,k)*x^k = A000007(n), A000045(n+2), A026150(n+1), A108306(n), A164545(n), A188168(n+1) for x = 0, 1, 2, 3, 4, 5 respectively.
Previous Showing 51-53 of 53 results.