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.

A073423 Sums of two powers of zero: triangle read by rows: T(m,n) = 0^n + 0^m, n >= 0, m = 0..n.

Original entry on oeis.org

2, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Jeremy Gardiner, Jul 30 2002

Keywords

Examples

			T(2,1) = 0^2 + 0^0 = 1.
Triangle begins:
  2;
  1, 0;
  1, 0, 0;
  1, 0, 0, 0;
  1, 0, 0, 0, 0;
  1, 0, 0, 0, 0, 0;
  ...
		

Crossrefs

Column k=0 gives A054977.

Programs

  • PARI
    A073423(n) = if(!n,2,ispolygonal(n,3)); \\ Antti Karttunen, Jan 19 2025
  • Python
    from math import isqrt
    def A073423(n): return int((k:=n<<1)==(m:=isqrt(k))*(m+1)) if n else 2 # Chai Wah Wu, Nov 09 2024
    

Formula

a(0) = 2; and for n > 0, a(n) = A010054(n). [As a flat sequence] - Antti Karttunen, Jan 19 2025