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.

A108036 Triangle read by rows: the triangle in A108035 surrounded by a border of 0's.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 2, 2, 0, 0, 3, 3, 3, 0, 0, 5, 5, 5, 5, 0, 0, 8, 8, 8, 8, 8, 0, 0, 13, 13, 13, 13, 13, 13, 0, 0, 21, 21, 21, 21, 21, 21, 21, 0, 0, 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 55, 55, 55, 55, 55, 55, 55, 55, 55, 0, 0, 89, 89, 89, 89, 89, 89, 89, 89, 89, 89, 0, 0, 144, 144, 144, 144
Offset: 0

Views

Author

N. J. A. Sloane, Jun 01 2005

Keywords

Examples

			0; 0,0; 0,1,0; 0,2,2,0; 0,3,3,3,0; 0,5,5,5,5,0; ...
		

Crossrefs

Programs

  • Python
    from math import isqrt
    from sympy import fibonacci
    def A108036(n): return 0 if 0<=(k:=n+1<<1)-(r:=(m:=isqrt(k))*(m+1))<=2 or n<=1 else int(fibonacci(m-(k<=r))) # Chai Wah Wu, Nov 07 2024

Formula

G.f.: x*y*(1+x+y)/((1-x-x^2)*(1-y-y^2)). [U coordinates]