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.

A255646 Odd triprimes modulo 10.

Original entry on oeis.org

7, 5, 3, 5, 9, 5, 7, 5, 7, 3, 5, 1, 5, 5, 7, 1, 5, 5, 1, 3, 5, 9, 5, 5, 3, 3, 5, 7, 3, 9, 5, 7, 9, 3, 5, 9, 5, 5, 5, 5, 7, 3, 7, 1, 9, 9, 5, 1, 5, 5, 3, 5, 9, 5, 7, 7, 9, 5, 1, 7, 3, 5, 5, 1, 5, 5, 1, 7, 9, 5, 7, 5, 1, 5, 3, 5, 7, 1, 7, 3, 5, 7, 3, 9, 5, 5
Offset: 1

Views

Author

Reinhard Zumkeller, May 05 2015

Keywords

Comments

Final digits of odd triprimes;
a(n) = A046316(n) mod 10.

Crossrefs

Cf. A046316, subsequence of A253721.

Programs

  • Haskell
    a255646 = flip mod 10 . a046316
    
  • PARI
    do(x)=my(v=List(), t); forprime(p=3, x\9, forprime(q=3, min(x\(3*p), p), t=p*q; forprime(r=3, min(x\t, q), listput(v, t*r)))); Set(v)%10 \\