login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A119393 Numbers n such that the index of the prime and the prime share some digit. 2
7, 11, 13, 14, 18, 23, 29, 30, 31, 32, 33, 34, 37, 38, 41, 52, 54, 55, 56, 62, 63, 73, 74, 75, 78, 80, 81, 82, 83, 84, 92, 94, 95, 97, 100, 103, 105, 107, 109, 110, 112, 113, 114, 115, 116, 121, 125, 126, 127, 128, 129, 130, 131, 132, 133, 135, 136, 137, 138, 139, 140 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Intersection of A000027&A000040 which share a digit.
EXAMPLE
7 is a member since the seventh prime is 17 with the index and the prime sharing the digit 7.
MATHEMATICA
Select[Range@140, Intersection[IntegerDigits@#, IntegerDigits@ Prime@# ] != {} &]
PROG
(Haskell)
import Data.List (intersect)
a119393 n = a119393_list !! (n-1)
a119393_list = filter
(\x -> not $ null $ show x `intersect` (show $ a000040 x)) [1..]
-- Reinhard Zumkeller, Sep 14 2014
CROSSREFS
Cf. A000027, A000040, A243355 (complement).
Sequence in context: A364562 A187040 A028784 * A155501 A271500 A271499
KEYWORD
nonn,base,less
AUTHOR
Robert G. Wilson v, Jul 25 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)