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-10 of 12 results. Next

A260267 Primes having only {1, 2, 4} as digits.

Original entry on oeis.org

2, 11, 41, 211, 241, 421, 2111, 2141, 2221, 2411, 2441, 4111, 4211, 4241, 4421, 4441, 11411, 12211, 12241, 12421, 14221, 14411, 21121, 21211, 21221, 22111, 22441, 24121, 24421, 41141, 41221, 41411, 42221, 44111, 44221, 111121, 111211, 112111, 112121, 112241
Offset: 1

Views

Author

Vincenzo Librandi, Jul 23 2015

Keywords

Comments

A020450 and A020452 are subsequences.
All terms but the first one end with a digit "1". - M. F. Hasler, Jul 26 2015

Crossrefs

Cf. similar sequences listed in A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(4*10^5) | Set(Intseq(p)) subset [1, 4, 2]];
    
  • Mathematica
    Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {1, 4, 2}]=={} &]
  • PARI
    A260267(n=50,show=0)={for(d=1,1e9,my(t,u=vector(d,i,10^(d-i))~);forvec(v=vector(d,i,[0,if(iM. F. Hasler, Jul 25 2015

A260271 Primes having only {1, 4, 9} as digits.

Original entry on oeis.org

11, 19, 41, 149, 191, 199, 419, 449, 491, 499, 911, 919, 941, 991, 1499, 1949, 1999, 4111, 4441, 4919, 4999, 9199, 9419, 9491, 9941, 9949, 11119, 11149, 11411, 11491, 11941, 14149, 14411, 14419, 14449, 19141, 19441, 19919, 19949, 19991, 41141, 41149, 41411
Offset: 1

Views

Author

Vincenzo Librandi, Jul 23 2015

Keywords

Comments

A020452, A020457 and A020466 are subsequences.

Crossrefs

Cf. similar sequences listed in A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(5*10^4) | Set(Intseq(p)) subset [1, 4, 9]];
  • Mathematica
    Select[Prime[Range[5 10^3]], Complement[IntegerDigits[#], {1, 4, 9}]=={} &]

A260044 Primes having only {0, 1, 3} as digits.

Original entry on oeis.org

3, 11, 13, 31, 101, 103, 113, 131, 311, 313, 331, 1013, 1031, 1033, 1103, 1301, 1303, 3001, 3011, 3301, 3313, 3331, 10103, 10111, 10133, 10301, 10303, 10313, 10331, 10333, 11003, 11113, 11131, 11311, 13001, 13003, 13033, 13103, 13313, 13331, 30011, 30013, 30103, 30113, 30133, 30313, 31013, 31033, 31333, 33013
Offset: 1

Views

Author

M. F. Hasler, Jul 25 2015

Keywords

Comments

A subsequence of A107715 and of A111488.
Number of terms < 10^n: 1, 4, 11, 22, 54, 118, 293, 691, 1837, 4871, 13321, 36042, 98325, 272237, 757080, .... - Robert G. Wilson v, Jul 26 2015

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(10^5) | Set(Intseq(p)) subset [0, 1, 3]]; // Vincenzo Librandi, Jul 26 2015
  • Mathematica
    Select[ FromDigits@# & /@ Tuples[{0, 1, 3}, 5], PrimeQ] (* Robert G. Wilson v, Jul 26 2015 *)
    Select[Prime[Range[4 10^3]], Complement[IntegerDigits[#], {0, 1, 3}]=={} &] (* Vincenzo Librandi, Jul 26 2015 *)
  • PARI
    A260044={(n,show=0,L=[0,1,3])->my(t);for(d=1,1e9,u=vector(d,i,10^(d-i))~;forvec(v=vector(d,i,[1+(i==1&!L[1]),#L]),ispseudoprime(t=vector(d,i,L[v[i]])*u)||next;show&print1(t",");n--||return(t)))}
    

A260268 Primes having only {1, 4, 5} as digits.

Original entry on oeis.org

5, 11, 41, 151, 541, 1151, 1451, 1511, 4111, 4441, 4451, 5441, 11411, 11551, 14411, 14551, 15451, 15511, 15541, 15551, 41141, 41411, 44111, 45541, 51151, 51511, 51551, 54151, 54541, 55411, 55441, 55511, 55541, 114451, 115151, 141511, 141551, 144451, 144511
Offset: 1

Views

Author

Vincenzo Librandi, Jul 23 2015

Keywords

Comments

A020452 and A020453 are subsequences.

Crossrefs

Cf. similar sequences listed in A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(4*10^5) | Set(Intseq(p)) subset [1, 4, 5]];
  • Mathematica
    Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {1, 4, 5}]=={} &]

A260269 Primes having only {1, 4, 6} as digits.

Original entry on oeis.org

11, 41, 61, 461, 641, 661, 4111, 4441, 6661, 11161, 11411, 14411, 14461, 16111, 16141, 16411, 16661, 41141, 41161, 41411, 41611, 41641, 44111, 44641, 46141, 46411, 46441, 61141, 61441, 64661, 66161, 111611, 111641, 114161, 114641, 114661, 116141, 116411
Offset: 1

Views

Author

Vincenzo Librandi, Jul 23 2015

Keywords

Comments

A020452 and A020454 are subsequences.

Crossrefs

Cf. similar sequences listed in A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(4*10^5) | Set(Intseq(p)) subset [1, 4, 6]];
  • Mathematica
    Select[Prime[Range[3 10^4]], Complement[IntegerDigits[#], {1, 4, 6}]=={} &]

A260270 Primes having only {1, 4, 8} as digits.

Original entry on oeis.org

11, 41, 181, 811, 881, 1181, 1481, 1811, 4111, 4441, 4481, 8111, 11411, 14411, 18181, 18481, 41141, 41411, 44111, 48481, 81181, 84181, 84481, 84811, 88411, 88811, 118411, 141181, 141481, 141811, 144481, 148411, 181141, 184111, 184181, 184441, 411841, 418181
Offset: 1

Views

Author

Vincenzo Librandi, Jul 23 2015

Keywords

Comments

A020452 and A020456 are subsequences.

Crossrefs

Cf. similar sequences listed in A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(5*10^5) | Set(Intseq(p)) subset [1, 4, 8]];
  • Mathematica
    Select[Prime[Range[4 10^4]], Complement[IntegerDigits[#], {1, 4, 8}]=={} &]
    Table[Select[10#+1&/@(FromDigits/@Tuples[{1,4,8},n]),PrimeQ],{n,5}]// Flatten (* Harvey P. Dale, Jun 08 2019 *)

A386017 Primes having only {0, 1, 2, 4} as digits.

Original entry on oeis.org

2, 11, 41, 101, 211, 241, 401, 421, 1021, 1201, 2011, 2111, 2141, 2221, 2411, 2441, 4001, 4021, 4111, 4201, 4211, 4241, 4421, 4441, 10111, 10141, 10211, 11411, 12011, 12041, 12101, 12211, 12241, 12401, 12421, 14011, 14221, 14401, 14411, 20011, 20021, 20101, 20201
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A036956.
Supersequence of A036953, A260266, A260267.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 2, 4]];
    
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 1, 2, 4}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 1, 2, 4]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0124"), 41))) # uses function/imports in A385776
    

A386023 Primes having only {0, 1, 3, 4} as digits.

Original entry on oeis.org

3, 11, 13, 31, 41, 43, 101, 103, 113, 131, 311, 313, 331, 401, 431, 433, 443, 1013, 1031, 1033, 1103, 1301, 1303, 1433, 3001, 3011, 3041, 3301, 3313, 3331, 3343, 3413, 3433, 4001, 4003, 4013, 4111, 4133, 4441, 10103, 10111, 10133, 10141, 10301, 10303, 10313, 10331
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A036956.
Supersequence of A199341, A260044, A260266.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 3, 4]];
    
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 1, 3, 4}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 1, 3, 4]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0134"), 41))) # uses function/imports in A385776
    

A386027 Primes having only {0, 1, 4, 5} as digits.

Original entry on oeis.org

5, 11, 41, 101, 151, 401, 541, 1051, 1151, 1451, 1511, 4001, 4051, 4111, 4441, 4451, 5011, 5051, 5101, 5441, 5501, 10111, 10141, 10151, 10501, 11411, 11551, 14011, 14051, 14401, 14411, 14551, 15101, 15401, 15451, 15511, 15541, 15551, 40111, 40151, 41011, 41051
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Supersequence of A199325, A260266, A260268.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 4, 5]];
    
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 1, 4, 5}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 1, 4, 5]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0145"), 41))) # uses function/imports in A385776
    

A386028 Primes having only {0, 1, 4, 6} as digits.

Original entry on oeis.org

11, 41, 61, 101, 401, 461, 601, 641, 661, 1061, 1601, 4001, 4111, 4441, 6011, 6101, 6661, 10061, 10111, 10141, 10601, 11161, 11411, 14011, 14401, 14411, 14461, 16001, 16061, 16111, 16141, 16411, 16661, 40111, 41011, 41141, 41161, 41411, 41611, 41641, 44041, 44101
Offset: 1

Views

Author

Jason Bard, Jul 14 2025

Keywords

Crossrefs

Subsequence of A030430.
Supersequence of A199326, A260266, A260269.

Programs

  • Magma
    [p: p in PrimesUpTo(10^6) | Set(Intseq(p)) subset [0, 1, 4, 6]];
    
  • Mathematica
    Select[FromDigits /@ Tuples[{0, 1, 4, 6}, n], PrimeQ]
  • PARI
    primes_with(, 1, [0, 1, 4, 6]) \\ uses function in A385776
  • Python
    print(list(islice(primes_with("0146"), 41))) # uses function/imports in A385776
    
Showing 1-10 of 12 results. Next