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!)
A294921 Numbers k such that (5*10^k + 97)/3 is prime. 0
2, 3, 4, 38, 46, 76, 82, 166, 180, 236, 909, 1668, 1884, 2042, 4602, 9830, 21939, 23956 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For k > 1, numbers such that the digit 1 followed by k-2 occurrences of the digit 6 followed by the digits 99 is prime (see Example section).
a(19) > 2*10^5.
LINKS
Makoto Kamada, Search for 16w99
EXAMPLE
2 is in this sequence because (5*10^2 + 97)/3 = 199 is prime.
Initial terms and primes associated:
a(1) = 2, 199;
a(2) = 3, 1699;
a(3) = 4, 16699;
a(4) = 38, 166666666666666666666666666666666666699;
a(5) = 46, 16666666666666666666666666666666666666666666699; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(5*10^# + 97)/3] &]
Select[Range[24000], PrimeQ[100*FromDigits[PadRight[{1}, #, 6]]+99]&]+1 (* Harvey P. Dale, Dec 12 2017 *)
PROG
(PARI) isok(k) = isprime((5*10^k + 97)/3); \\ Michel Marcus, Nov 15 2017
CROSSREFS
Sequence in context: A084314 A308045 A247961 * A332534 A293685 A078394
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 15 2017
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 24 09:58 EDT 2024. Contains 371935 sequences. (Running on oeis4.)