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”).

A163753
At least one prime occurs as a substring of the digits of n.
4
2, 3, 5, 7, 11, 12, 13, 15, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 45, 47, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 65, 67, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 82, 83, 85, 87, 89, 92, 93, 95, 97, 101, 102
OFFSET
1,1
COMMENTS
A039997(a(n)) > 0. - Reinhard Zumkeller, Jan 31 2012
This sequence (written in decimal) is automatic in the terminology of Allouche & Shallit since A071062 is finite. - Charles R Greathouse IV, Jan 31 2012
EXAMPLE
a(6) = 12 because "2" is a prime substring of "12".
PROG
(Haskell)
a163753 n = a163753_list !! (n-1)
a163753_list = filter ((> 0) . a039997) [0..]
-- Reinhard Zumkeller, Jan 31 2012
CROSSREFS
Cf. A062115 (complement), A205667 (subsequence), A071062.
Sequence in context: A117283 A198096 A137923 * A131930 A230918 A001742
KEYWORD
base,easy,nonn
AUTHOR
Gil Broussard, Aug 03 2009
STATUS
approved