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.

A029981 Primes that are palindromic in base 14.

Original entry on oeis.org

2, 3, 5, 7, 11, 13, 197, 211, 239, 281, 337, 379, 619, 647, 661, 773, 1013, 1069, 1097, 1153, 1787, 1801, 1871, 1913, 2237, 2251, 2293, 2617, 2659, 2687, 2729, 39397, 41959, 42743, 43331, 43933, 44129, 45697, 45893, 46691, 47279, 48259
Offset: 1

Views

Author

Keywords

Programs

  • Mathematica
    f[n_]:=FromDigits[RealDigits[n,14][[1]]]==FromDigits[Reverse[RealDigits[n,14][[1]]]]; lst={}; Do[p=Prime[n]; If[f[p],AppendTo[lst,p]],{n,8!}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 10 2009 *)