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!)
A278695 Numbers k such that (38*10^k - 119) / 9 is prime. 0
1, 2, 4, 5, 8, 14, 16, 17, 20, 22, 38, 134, 136, 152, 829, 1087, 2110, 3524, 4412, 7079, 10538, 17672, 21583, 24163, 35126, 72050 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For k>1, numbers such that the digit 4 followed by k-2 occurrences of the digit 2 followed by the digits 09 is prime (see Example section).
a(27) > 2*10^5.
LINKS
Makoto Kamada, Search for 42w09.
EXAMPLE
4 is in this sequence because (38*10^4 - 119) / 9 = 42209 is prime.
Initial terms and primes associated:
a(1) = 1, 29;
a(2) = 2, 409;
a(3) = 4, 42209;
a(4) = 5, 422209;
a(5) = 8, 422222209; etc.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[(38*10^# - 119) / 9] &]
PROG
(PARI) isok(n) = isprime((38*10^n - 119) / 9); \\ Michel Marcus, Nov 27 2016
CROSSREFS
Sequence in context: A288668 A264800 A293189 * A105134 A226791 A357177
KEYWORD
nonn,more,hard
AUTHOR
Robert Price, Nov 26 2016
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 17:20 EDT 2024. Contains 371962 sequences. (Running on oeis4.)