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!)
A155089 Primes p such that the largest digit of the concatenation of p and the p-th prime is either 1 or 9. 1
17, 19, 29, 41, 43, 59, 79, 89, 97, 109, 127, 131, 139, 149, 157, 163, 167, 179, 191, 193, 197, 199, 211, 223, 229, 239, 251, 263, 269, 293, 317, 337, 349, 359, 373, 379, 389, 397, 401, 409, 419, 421, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[250]], MemberQ[{1, 9}, Max[Join[IntegerDigits[ #], IntegerDigits[ Prime[#]]]]]&] (* Harvey P. Dale, Feb 08 2022 *)
PROG
(PARI) isok(p) = isprime(p) && (vecmax(digits(eval(concat(Str(p), Str(prime(p)))))) == 9); \\ Michel Marcus, Feb 18 2021
CROSSREFS
Cf. A000040.
Sequence in context: A132246 A038969 A065742 * A101396 A050266 A045803
KEYWORD
nonn,base,less
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 10 2010
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 16 12:52 EDT 2024. Contains 371711 sequences. (Running on oeis4.)