login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A083786
Composite numbers mod 10.
2
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,1
LINKS
FORMULA
a(n) = A002808(n) mod 10. - Ray Chandler, Sep 04 2003
MATHEMATICA
Mod[Rest@ Select[Range@140, !PrimeQ@# &], 10] (* Robert G. Wilson v, Mar 17 2006 *)
PROG
(PARI) lista(nn) = forcomposite(n=2, nn, print1(n % 10, ", ")); \\ Michel Marcus, Oct 30 2017
CROSSREFS
Sequence in context: A373042 A183005 A103189 * A199976 A165957 A338028
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Aug 21 2003
EXTENSIONS
More terms from Ray Chandler, Sep 04 2003
Entries checked by Robert G. Wilson v, Mar 17 2006
STATUS
approved