The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A273542 Numbers k such that (238*10^k - 1)/3 is prime. 0
0, 2, 3, 4, 6, 10, 12, 38, 40, 47, 59, 76, 131, 154, 227, 404, 762, 782, 987, 993, 3449, 5692, 10086, 11630, 15135, 26384, 28233, 33179, 48352, 103210, 118265, 145276, 151979, 209715, 210712 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For k > 1, numbers k such that the digits 79 followed by k occurrences of the digit 3 is prime (see Example section).
a(36) > 3*10^5.
LINKS
Makoto Kamada, Search for 793w.
EXAMPLE
3 is in this sequence because (238*10^3-1)/3 = 79333 is prime.
Initial terms and associated primes:
a(1) = 0, 79;
a(2) = 2, 7933;
a(3) = 3, 79333;
a(4) = 4, 793333;
a(5) = 6, 79333333, etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(238*10^# - 1)/3] &]
PROG
(Magma) [n: n in [0..500] | IsPrime((238*10^n - 1) div 3)]; // Vincenzo Librandi, May 25 2016
(PARI) is(n)=ispseudoprime(238*10^n\3) \\ Charles R Greathouse IV, Jun 08 2016
CROSSREFS
Sequence in context: A322164 A237823 A241547 * A061018 A130126 A288338
KEYWORD
nonn,more
AUTHOR
Robert Price, May 24 2016
EXTENSIONS
a(30)-a(33) from Robert Price, Apr 01 2020
a(34)-a(35) from Robert Price, Oct 26 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 May 30 19:45 EDT 2024. Contains 372974 sequences. (Running on oeis4.)