login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118479 Least n-digit prime which is also a twin prime and Sophie Germain prime. 2
3, 11, 179, 1019, 10091, 100361, 1000211, 10001399, 100001651, 1000002359, 10000003001, 100000026569, 1000000000061, 10000000019759, 100000000018109, 1000000000029911, 10000000000013741, 100000000000004381 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

3 and 5 twin primes and 2*3+1=7 prime, so 3 is first of twin primes and Sophie Germain prime, least prime like this of one digit, so a(1)=3

11 and 13 twin primes ans 2*11+1=23 prime, so 11 first of twin primes and Sophie Germain prime, least prime like this with two digits, so a(2)=11

MATHEMATICA

f[n_] := Block[{k = 10^(n - 1)}, While[ !PrimeQ[k] || !PrimeQ[k + 2] || !PrimeQ[2k + 1], k++ ]; k]; Array[f, 18] (* Robert G. Wilson v *)

CROSSREFS

Sequence in context: A006485 A003115 A053888 * A103836 A081484 A125738

Adjacent sequences:  A118476 A118477 A118478 * A118480 A118481 A118482

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierre-cami(AT)bbox.fr), May 05 2006

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(at)rgwv.com), May 13 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 08:13 EST 2012. Contains 205893 sequences.