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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097954 Numbers n such that 7*10^n + 9 is prime. 2
1, 2, 4, 6, 11, 12, 13, 35, 46, 57, 128, 156, 263, 353, 396, 429, 783, 982, 1058, 1563, 1695, 1816, 1937, 4236, 4431, 6858, 9898, 13145, 16646, 20891, 63351, 105296, 113693, 121144, 163780 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

a(36) > 2*10^5. - Robert Price, Sep 05 2015

LINKS

Table of n, a(n) for n=1..35.

Makoto Kamada, Prime numbers of the form 700...009.

Sabin Tabirca and Kieran Reynolds, Lacunary Prime Numbers.

Index entries for primes involving repunits.

FORMULA

a(n) = A101130(n) + 1.

EXAMPLE

n=2 we get 7*10^2+9 = 7*100+9 = 709, which is prime.

MATHEMATICA

Do[ If[ PrimeQ[ 7*10^n + 9], Print[ n ]], {n, 0, 10000}] (* Robert G. Wilson v, Jan 19 2005 *)

Select[Range[0, 10000], PrimeQ[7 10^# + 9] &] (* Vincenzo Librandi, Sep 06 2015 *)

PROG

(MAGMA) [n: n in [0..400] |IsPrime(7*10^n + 9)]; // Vincenzo Librandi, Sep 06 2015

(PARI) is(n)=ispseudoprime(7*10^n+9) \\ Charles R Greathouse IV, Jun 13 2017

CROSSREFS

Cf. A101130.

Sequence in context: A063183 A057661 A237277 * A324333 A081988 A244748

Adjacent sequences:  A097951 A097952 A097953 * A097955 A097956 A097957

KEYWORD

more,nonn

AUTHOR

Julien Peter Benney (jpbenney(AT)ftml.net), Sep 05 2004

EXTENSIONS

a(19)-a(27) from Robert G. Wilson v, Jan 19 2005

a(28)-a(31) from Kamada data by Robert Price, Dec 14 2010

a(32)-a(35) from Robert Price, Sep 05 2015

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 October 18 08:08 EDT 2019. Contains 328146 sequences. (Running on oeis4.)