The Algorithms logo
The Algorithms
关于捐赠

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;
            }
        }
    }
}