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!)
A295586 Numbers k such that (25*10^k - 331)/9 is prime. 0
2, 3, 5, 6, 9, 12, 14, 18, 50, 56, 197, 222, 323, 1256, 1869, 2690, 4461, 5828, 46866, 116601, 141366 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
For k > 1, numbers k such that the digit 2 followed by k-2 occurrences of the digit 7 followed by the digits 41 is prime (see Example section).
a(22) > 2*10^5.
LINKS
Makoto Kamada, Search for 27w41.
EXAMPLE
2 is in this sequence because (25*10^2 - 331)/9 = 241 is prime.
Initial terms and associated primes:
a(1) = 2, 241;
a(2) = 3, 2741;
a(3) = 5, 277741;
a(4) = 6, 2777741;
a(5) = 9, 2777777741; etc.
MATHEMATICA
Select[Range[2, 100000], PrimeQ[(25*10^# - 331)/9] &]
PROG
(PARI) isok(k) = isprime((25*10^k - 331)/9); \\ Michel Marcus, Nov 24 2017
CROSSREFS
Sequence in context: A124866 A166247 A126785 * A283768 A212864 A026317
KEYWORD
nonn,more,hard,changed
AUTHOR
Robert Price, Nov 24 2017
EXTENSIONS
a(20)-a(21) from Robert Price, Aug 22 2018
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 16 00:16 EDT 2024. Contains 372549 sequences. (Running on oeis4.)