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.

A000004 The zero sequence.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A000012 (all 1's), A007395 (all 2's), A010701 (all 3's).
Cf. A000007(n) = 0^n: characteristic function of {0}.

Programs

  • Haskell
    a000004 = const 0
    a000004_list = repeat 0  -- Reinhard Zumkeller, May 07 2012
    
  • Magma
    [ 0 : n in [0..100]];
    
  • Maple
    A000004 := n->0;
  • Mathematica
    a[ n_] := 0;
    Table[0, {n, 100}] (* Matthew House, Jul 14 2015 *)
    LinearRecurrence[{1},{0},102] (* Ray Chandler, Jul 15 2015 *)
  • PARI
    vector(100,n,0)
    
  • Python
    print([0 for n in range(102)]) # Michael S. Branicky, Apr 04 2022
  • R
    rep(0,100)
    

Formula

a(n) = 0 for all integer n.