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!)
A098089 Numbers k such that 7*R_k + 2 is prime, where R_k = 11...1 is the repunit (A002275) of length k. 3
0, 2, 66, 86, 90, 102, 386, 624, 7784, 18536, 113757, 135879 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Also numbers k such that (7*10^k + 11)/9 is prime.
Although perhaps a degenerate case, A002275 defines R(0)=0. Thus zero belongs in this sequence since 7*0 + 2 = 2 is prime. - Robert Price, Oct 28 2014
a(11) > 10^5. - Robert Price, Nov 22 2014
a(13) > 2*10^5. - Tyler Busby, Feb 01 2023
LINKS
FORMULA
a(n) = A056693(n-1) + 1 for n>1.
EXAMPLE
If n = 2, we get ((7*10^2)+11/9 = (700+11)/9 = 79, which is prime.
MATHEMATICA
Do[ If[ PrimeQ[ 7(10^n - 1)/9 + 2], Print[n]], {n, 0, 5000}] (* Robert G. Wilson v, Oct 15 2004 *)
Do[ If[ PrimeQ[((7*10^n) + 11)/9], Print[n]], {n, 0, 8131}] (* Robert G. Wilson v, Sep 27 2004 *)
Select[Range[0, 700], PrimeQ[(7 10^# + 11) / 9] &] (* Vincenzo Librandi, Nov 22 2014 *)
PROG
(Magma) [n: n in [0..300] | IsPrime((7*10^n+11) div 9)]; // Vincenzo Librandi, Nov 22 2014
CROSSREFS
Sequence in context: A309169 A231946 A333677 * A304934 A075809 A257788
KEYWORD
more,nonn
AUTHOR
Julien Peter Benney (jpbenney(AT)ftml.net), Sep 14 2004
EXTENSIONS
a(9) from Kamada link by Ray Chandler, Dec 23 2010
a(1)=0 added and Mathematica programs adapted by Robert Price, Oct 28 2014
a(11)-a(12) from Tyler Busby, Feb 01 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 July 13 23:31 EDT 2024. Contains 374290 sequences. (Running on oeis4.)