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.

A004679 Primes written in base 5.

Original entry on oeis.org

2, 3, 10, 12, 21, 23, 32, 34, 43, 104, 111, 122, 131, 133, 142, 203, 214, 221, 232, 241, 243, 304, 313, 324, 342, 401, 403, 412, 414, 423, 1002, 1011, 1022, 1024, 1044, 1101, 1112, 1123, 1132, 1143, 1204, 1211, 1231, 1233, 1242, 1244, 1321, 1343, 1402, 1404, 1413, 1424, 1431
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. similar sequences listed in A004680.

Programs

  • Magma
    [Seqint(Intseq(NthPrime(n), 5)): n in [1..60]]; // G. C. Greubel, Oct 12 2018
  • Mathematica
    FromDigits/@IntegerDigits[Prime[Range[50]],5] (* Harvey P. Dale, Dec 09 2010 *)
  • PARI
    a(n)=subst(Pol(digits(prime(n),5)),'x,10) \\ Charles R Greathouse IV, Nov 06 2013
    

Formula

a(n) = A007091(A000040(n)). - Michel Marcus, Sep 03 2016