login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A208272
Primes containing a digit 2.
9
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,1
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
LINKS
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Nov 01 2022
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 *)
CROSSREFS
Cf. A208273 (composites containing a digit 2), A011532 (numbers containing a digit 2).
Sequence in context: A084373 A107148 A062653 * A306086 A045708 A090150
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 04 2012
STATUS
approved