login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165555 Primes obtained from other primes by prefixing a 5. 5
53, 523, 541, 547, 571, 5101, 5107, 5113, 5167, 5179, 5197, 5227, 5233, 5281, 5347, 5419, 5431, 5443, 5449, 5479, 5503, 5521, 5557, 5563, 5569, 5641, 5647, 5653, 5659, 5683, 5701, 5743, 5821, 5827, 5839, 5857, 5881, 5953, 51031, 51061, 51109, 51151, 51193, 51217 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The primes are considered in increasing order. Primes with the same number of digits, the difference between adjacent terms seems to be a multiple of 3.

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..10000

Chris Caldwell, The First 10,000 Primes

EXAMPLE

5479 is a prime obtained by prefixing a 5 to the prime 479.

MAPLE

A165555:= n-> (parse(cat(5, ithprime(n)))): select(isprime, [seq((A165555(n), n=1..1000))]); # K. D. Bajpai, Jul 14 2017

MATHEMATICA

Select[Table[FromDigits[Join[IntegerDigits[5], IntegerDigits[Prime[n]]]], {n, 500}], PrimeQ] (*K. D. Bajpai, Jul 14 2017 *)

PROG

(MAGMA)[k : p in PrimesUpTo (2000) | IsPrime (k) where k is Seqint (Intseq (p) cat Intseq (5))]; // K. D. Bajpai, Jul 14 2017

(PARI) lista(nn) = forprime(p=2, nn, if (isprime(q=eval(concat(5, Str(p)))), print1(q, ", "))); \\ Michel Marcus, Jul 29 2017

CROSSREFS

Cf. A000040, A165243, A165292, A165444.

Sequence in context: A322043 A293089 A177120 * A201855 A112749 A245589

Adjacent sequences:  A165552 A165553 A165554 * A165556 A165557 A165558

KEYWORD

base,nonn

AUTHOR

Parthasarathy Nambi, Sep 21 2009

EXTENSIONS

More terms from Vincenzo Librandi, Dec 02 2010

Missing term 5449 inserted by K. D. Bajpai, Jul 14 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 26 03:29 EST 2020. Contains 332273 sequences. (Running on oeis4.)