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!)
A290578 Numbers k such that (379*10^k - 1)/9 is prime. 0
1, 2, 5, 8, 10, 11, 20, 56, 161, 172, 263, 290, 578, 800, 1166, 3382, 3848, 7036, 10487, 12101, 36211, 94337, 138737 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For k > 0, numbers k such that the digits 42 followed by k occurrences of the digit 1 is prime (see Example section).
a(24) > 2*10^5.
LINKS
Makoto Kamada, Search for 421w.
EXAMPLE
2 is in this sequence because (379*10^2 - 1)/9 = 4211 is prime.
Initial terms and associated primes:
a(1) = 1, 421;
a(2) = 2, 4211;
a(3) = 5, 4211111;
a(4) = 8; 4211111111;
a(5) = 10, 421111111111; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(379*10^# - 1)/9] &]
PROG
(PARI) isok(k) = isprime((379*10^k - 1)/9); \\ Michel Marcus, Aug 07 2017
CROSSREFS
Sequence in context: A352142 A338388 A237525 * A294127 A166955 A286808
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Aug 06 2017
EXTENSIONS
a(23) from Robert Price, Feb 14 2020
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 22 14:43 EDT 2024. Contains 374501 sequences. (Running on oeis4.)