The Algorithms logo
The Algorithms
Acerca deDonar

A000004 Zero

using System.Collections.Generic;
using System.Numerics;

namespace Algorithms.Sequences;

/// <summary>
///     <para>
///         The zero sequence.
///     </para>
///     <para>
///         OEIS: https://oeis.org/A000004.
///     </para>
/// </summary>
public class ZeroSequence : ISequence
{
    public IEnumerable<BigInteger> Sequence
    {
        get
        {
            while (true)
            {
                yield return 0;
            }
        }
    }
}