A205667 Numbers containing exactly one prime in decimal representation.
2, 3, 5, 7, 11, 12, 15, 19, 20, 21, 22, 24, 26, 28, 30, 33, 34, 36, 38, 39, 41, 42, 45, 50, 51, 54, 55, 56, 58, 61, 62, 63, 65, 70, 74, 76, 77, 78, 82, 85, 87, 89, 92, 93, 95, 101, 102, 105, 109, 110, 111, 114, 116, 118, 120, 121, 122, 124, 126, 128, 141
Offset: 1
Examples
A039997(10) = #{} = 0, therefore 10 is not a term; A039997(11) = #{11} = 1, therefore 11 is a term; A039997(12) = #{2} = 1, therefore 12 is a term; A039997(13) = #{3, 13} = 2, therefore 13 is not a term.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Crossrefs
Subsequence of A163753.
Programs
-
Haskell
a205667 n = a205667_list !! (n-1) a205667_list = filter ((== 1) . a039997) [0..] -- Reinhard Zumkeller, Jan 31 2012
Comments