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!)
A295631 Numbers k such that (38*10^k + 187)/9 is prime. 0
2, 3, 5, 6, 9, 14, 17, 20, 54, 56, 165, 902, 1023, 6483, 14174, 18411, 20025, 27411, 49583, 59589, 66896, 97329 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For k > 1, numbers such that the digit 4 followed by k-2 occurrences of the digit 2 followed by the digits 43 is prime (see Example section).
a(23) > 2*10^5.
LINKS
Makoto Kamada, Search for 42w43
EXAMPLE
2 is in this sequence because (38*10^2 + 187)/9 = 443 is prime.
Initial terms and primes associated:
a(1) = 2, 443;
a(2) = 3, 4243;
a(3) = 5, 422243;
a(4) = 6, 4222243;
a(5) = 9, 4222222243; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[38*10^# + 187)/9] &]
Select[Range[2, 100000], PrimeQ[100*FromDigits[PadRight[{4}, #-1, 2]]+43]&] (* Harvey P. Dale, Jan 16 2018 *)
PROG
(PARI) is(k) = ispseudoprime((38*10^k + 187)/9) \\ Iain Fox, Nov 24 2017
CROSSREFS
Sequence in context: A175095 A073216 A181902 * A278707 A294631 A059454
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 24 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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)