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-8 of 8 results.

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

Original entry on oeis.org

11, 41, 101, 401, 4001, 4111, 4441, 10111, 10141, 11411, 14011, 14401, 14411, 40111, 41011, 41141, 41411, 44041, 44101, 44111, 100411, 101111, 101141, 101411, 110441, 114001, 114041, 140111, 140401, 140411, 141041, 141101, 400441, 401101, 401411, 404011
Offset: 1

Views

Author

Vincenzo Librandi, Jul 22 2015

Keywords

Comments

A020449 and A020452 are subsequences.
All terms end with a digit "1". - M. F. Hasler, Jul 26 2015

Crossrefs

Primes that contain only digits among {1,4,k}: this sequence (k=0), A260267 (k=2), A199341 (k=3), A260268 (k=5), A260269 (k=6), A079651 (k=7), A260270 (k=8), A260271 (k=9).

Programs

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

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
    

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

Original entry on oeis.org

2, 11, 41, 61, 211, 241, 421, 461, 641, 661, 1621, 2111, 2141, 2161, 2221, 2411, 2441, 2621, 4111, 4211, 4241, 4261, 4421, 4441, 4621, 6121, 6211, 6221, 6421, 6661, 11161, 11261, 11411, 11621, 12161, 12211, 12241, 12421, 12611, 12641, 14221, 14411, 14461, 14621
Offset: 1

Views

Author

Jason Bard, Jul 16 2025

Keywords

Crossrefs

Supersequence of A260267, A260269, A385774.

Programs

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

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

Original entry on oeis.org

3, 11, 13, 31, 41, 43, 61, 113, 131, 163, 311, 313, 331, 431, 433, 443, 461, 463, 613, 631, 641, 643, 661, 1163, 1361, 1433, 1613, 1663, 3163, 3313, 3331, 3343, 3361, 3413, 3433, 3461, 3463, 3613, 3631, 3643, 4111, 4133, 4363, 4441, 4463, 4643, 4663, 6113, 6131
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A199341, A199346, A260269, A385777.

Programs

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

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

Original entry on oeis.org

5, 11, 41, 61, 151, 461, 541, 641, 661, 1151, 1451, 1511, 4111, 4441, 4451, 4561, 4651, 5441, 5641, 5651, 6151, 6451, 6551, 6661, 11161, 11411, 11551, 14411, 14461, 14551, 14561, 15161, 15451, 15461, 15511, 15541, 15551, 15641, 15661, 16111, 16141, 16411, 16451
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260268, A260269, A385779.

Programs

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

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

Original entry on oeis.org

7, 11, 17, 41, 47, 61, 67, 71, 167, 461, 467, 617, 641, 647, 661, 677, 761, 1117, 1171, 1447, 1471, 1667, 1741, 1747, 1777, 4111, 4177, 4441, 4447, 6661, 6761, 7177, 7411, 7417, 7477, 7717, 7741, 11117, 11161, 11171, 11177, 11411, 11447, 11467, 11471, 11617, 11677
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A079651, A260269, A260891, A385794.

Programs

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

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

Original entry on oeis.org

11, 41, 61, 181, 461, 641, 661, 811, 881, 1181, 1481, 1811, 1861, 4111, 4441, 4481, 4861, 6481, 6661, 6841, 8111, 8161, 8461, 8641, 8681, 8861, 11161, 11411, 11681, 14411, 14461, 16111, 16141, 16411, 16481, 16661, 16811, 18181, 18461, 18481, 18661, 41141, 41161
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A260269, A260270, A385782.

Programs

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

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

Original entry on oeis.org

11, 19, 41, 61, 149, 191, 199, 419, 449, 461, 491, 499, 619, 641, 661, 691, 911, 919, 941, 991, 1499, 1619, 1669, 1699, 1949, 1999, 4111, 4441, 4649, 4691, 4919, 4969, 4999, 6199, 6449, 6469, 6491, 6619, 6661, 6691, 6911, 6949, 6961, 6991, 9161, 9199, 9419, 9461
Offset: 1

Views

Author

Jason Bard, Jul 17 2025

Keywords

Crossrefs

Supersequence of A107666, A260269, A260271, A363023.

Programs

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