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!)
A320585 Primes whose first digit is prime. 2
2, 3, 5, 7, 23, 29, 31, 37, 53, 59, 71, 73, 79, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
2, 3, 5, 7, seq(seq(op(select(isprime, [seq(i*10^(d-1)+j, j=1..10^(d-1)-1, 2)])), i=[2, 3, 5, 7]), d=1..4); # Robert Israel, Apr 02 2020
MATHEMATICA
Select[Range[575], PrimeQ[#] && PrimeQ[IntegerDigits[#][[1]]] &] (* Amiram Eldar, Nov 11 2018 *)
PROG
(PARI) isok(n) = isprime(n) && isprime(digits(n)[1]); \\ Michel Marcus, Oct 17 2018
CROSSREFS
Intersection of A000040 and A320584 (numbers whose first digit is prime).
Sequence in context: A124673 A024776 A069867 * A024770 A038603 A106116
KEYWORD
nonn,base
AUTHOR
Kritsada Moomuang, Oct 16 2018
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 May 4 21:32 EDT 2024. Contains 372257 sequences. (Running on oeis4.)