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.

A175275 Base-3 pandigital primes: primes having at least one of each digit 0,1,2 when written in base 3.

Original entry on oeis.org

11, 19, 29, 47, 59, 61, 73, 83, 89, 97, 101, 103, 107, 113, 127, 137, 139, 163, 167, 173, 179, 181, 191, 193, 197, 199, 223, 227, 251, 257, 263, 269, 277, 281, 293, 307, 311, 313, 317, 331, 347, 349, 353, 359, 379, 383, 389, 397, 409, 419, 421, 431, 433, 439
Offset: 1

Views

Author

M. F. Hasler, May 27 2010

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[500], Min @ DigitCount[#, 3] > 0 && PrimeQ[#] &] (* Amiram Eldar, Apr 13 2021 *)
  • PARI
    base(n,b=16,s=0)={local(a=[n%b]);while(09,s,48)+a[i])),a)}
    forprime(p=1,999,#Set(base(p,3))==3&print1(p","))