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!)
A062335 Primes starting and ending with 9. 3
919, 929, 9029, 9049, 9059, 9109, 9199, 9209, 9239, 9319, 9349, 9419, 9439, 9479, 9539, 9619, 9629, 9649, 9679, 9689, 9719, 9739, 9749, 9769, 9829, 9839, 9859, 9929, 9949, 90019, 90059, 90089, 90149, 90199, 90239, 90289, 90359, 90379, 90439 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n = 0..1000

EXAMPLE

9679 is a member, as it is a prime and the first and the last digits are both 9.

MATHEMATICA

fl9Q[n_]:=IntegerDigits[n][[1]]==IntegerDigits[n][[-1]]==9; Select[ Prime[ Range[10000]], fl9Q] (* Harvey P. Dale, Dec 31 2019 *)

PROG

(PARI) { default(primelimit, 10^6); n=-1; t=log(10); forprime (p=2, 10^6, if ((p-10*(p\10)) == 9 && (p\10^(log(p)\t)) == 9, write("b062335.txt", n++, " ", p); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 05 2009

CROSSREFS

Cf. A062332, A062333, A062334.

Sequence in context: A217226 A217344 A221113 * A179673 A082518 A128375

Adjacent sequences:  A062332 A062333 A062334 * A062336 A062337 A062338

KEYWORD

nonn,base,easy

AUTHOR

Amarnath Murthy, Jun 21 2001

EXTENSIONS

More terms from Larry Reeves (larryr(AT)acm.org), Jun 29 2001

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 January 22 05:19 EST 2022. Contains 350481 sequences. (Running on oeis4.)