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.

Showing 1-2 of 2 results.

A235155 Primes which have one or more occurrences of exactly three different digits.

Original entry on oeis.org

103, 107, 109, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 239, 241, 251, 257, 263, 269, 271, 281, 283, 293, 307, 317, 347, 349, 359, 367, 379, 389, 397, 401, 409, 419, 421, 431, 439, 457, 461, 463, 467, 479, 487, 491, 503, 509, 521, 523, 541, 547
Offset: 1

Views

Author

Colin Barker, Jan 04 2014

Keywords

Comments

The first term having a repeated digit is 1009.

Crossrefs

Programs

  • MATLAB
    %See Conrey Link
  • Mathematica
    Select[Prime[Range[200]],Count[DigitCount[#],0]==7&] (* Harvey P. Dale, Jul 27 2020 *)
  • PARI
    s=[]; forprime(n=100, 1000, if(#vecsort(eval(Vec(Str(n))),,8)==3, s=concat(s, n))); s
    

A235157 Primes which have one or more occurrences of exactly five different digits.

Original entry on oeis.org

10243, 10247, 10253, 10259, 10267, 10273, 10289, 10357, 10369, 10427, 10429, 10453, 10457, 10459, 10463, 10487, 10529, 10567, 10589, 10597, 10627, 10639, 10657, 10687, 10723, 10729, 10739, 10753, 10789, 10837, 10847, 10853, 10859, 10867, 10937, 10957
Offset: 1

Views

Author

Colin Barker, Jan 04 2014

Keywords

Comments

The first term having a repeated digit is 100237.
There are 2,529 5-digit primes in the sequence. Harvey P. Dale, Feb 06 2015

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[1255,1355]],Max[DigitCount[#]]==1&] (* The program is only accurate for 5-digit primes, of which there are 2529 satisfying the definition *) (* Harvey P. Dale, Feb 06 2015 *)
  • PARI
    s=[]; forprime(n=10000, 13000, if(#vecsort(eval(Vec(Str(n))),,8)==5, s=concat(s, n))); s
Showing 1-2 of 2 results.