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.

A208272 Primes containing a digit 2.

Original entry on oeis.org

2, 23, 29, 127, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 421, 521, 523, 727, 821, 823, 827, 829, 929, 1021, 1123, 1129, 1201, 1213, 1217, 1223, 1229, 1231, 1237, 1249, 1259, 1277, 1279, 1283, 1289, 1291, 1297, 1321, 1327
Offset: 1

Views

Author

Jaroslav Krizek, Mar 04 2012

Keywords

Comments

Supersequence of A045708. Subsequence of A011532.
Complement of A208273 with respect to A011532.
Also primes p whose divisors d_k (k = 1, 2; 1 = d_1 < d_2 = p) contain digit equal to number k.
Complement of A208275 with respect to A208274.
Primes with at least one digit equal to 2. - Harvey P. Dale, Aug 29 2012

Crossrefs

Cf. A208273 (composites containing a digit 2), A011532 (numbers containing a digit 2).

Programs

  • Mathematica
    Select[Range[2000], PrimeQ[#] && MemberQ[IntegerDigits[#], 2] &] (* T. D. Noe, Mar 06 2012 *)
    Select[Prime[Range[300]],DigitCount[#,10,2]>0&] (* Harvey P. Dale, Aug 29 2012 *)

Formula

a(n) ~ n log n. - Charles R Greathouse IV, Nov 01 2022