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.

A083786 Composite numbers mod 10.

Original entry on oeis.org

4, 6, 8, 9, 0, 2, 4, 5, 6, 8, 0, 1, 2, 4, 5, 6, 7, 8, 0, 2, 3, 4, 5, 6, 8, 9, 0, 2, 4, 5, 6, 8, 9, 0, 1, 2, 4, 5, 6, 7, 8, 0, 2, 3, 4, 5, 6, 8, 9, 0, 2, 4, 5, 6, 7, 8, 0, 1, 2, 4, 5, 6, 7, 8, 0, 1, 2, 3, 4, 5, 6, 8, 9, 0, 2, 4, 5, 6, 8, 0, 1, 2, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 8, 9, 0, 2, 3, 4, 5, 6, 8, 0
Offset: 1

Views

Author

Roger L. Bagula, Aug 21 2003

Keywords

Crossrefs

Programs

  • Mathematica
    Mod[Rest@ Select[Range@140, !PrimeQ@# &], 10] (* Robert G. Wilson v, Mar 17 2006 *)
  • PARI
    lista(nn) = forcomposite(n=2, nn, print1(n % 10, ", ")); \\ Michel Marcus, Oct 30 2017

Formula

a(n) = A002808(n) mod 10. - Ray Chandler, Sep 04 2003

Extensions

More terms from Ray Chandler, Sep 04 2003
Entries checked by Robert G. Wilson v, Mar 17 2006