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!)
A097954 Numbers k such that 7*10^k + 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, 234915, 284751 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(38) > 3*10^5. - Robert Price, Jul 10 2023
LINKS
Sabin Tabirca and Kieran Reynolds, Lacunary Prime Numbers.
FORMULA
a(n) = A101130(n) + 1.
EXAMPLE
k=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
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
a(36)-a(37) from Robert Price, Jul 10 2023
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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)