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!)
A124050 Difference between (first Chen prime > 10^n) and 10^n. 0
1, 1, 1, 9, 7, 19, 37, 19, 7, 7, 19, 19, 61, 687, 97, 91, 79, 13, 79, 97, 151, 217, 427, 253, 667, 13, 127, 427, 457, 577, 1069, 349, 1147, 1267, 2527, 2833, 709, 871, 259, 361, 1651, 391, 2689, 649, 31, 3007, 1657, 2257, 3757, 5977, 1441, 2779, 5749, 367, 31 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
A033873(n) <= a(n) <= A124001(n) and a(n) = A033873(n) for n = 0, 1, 2, 3, 4, 7, 8, 9, 10, 25, 44, 54.
LINKS
EXAMPLE
a(0) = 1 because 2 is prime, 2 + 2 = 4 semiprime and 2 - 10^0 = 1,
a(1) = 1 because 11 and 13 are twin primes and 11 - 10^1 = 1,
a(2) = 1 because 101 and 103 are twin primes and 101 - 10^2 = 1,
a(3) = 9 because 1009 is prime, 1011 = 3*337 semiprime and 1009 - 10^3 = 9,
a(4) = 7 because 10007 and 10009 are twin primes and 10007 - 10^4 = 7,
a(5) = 19 because 100019 is prime, 100021 = 29*3449 semiprime and 100019 - 10^5 = 19, etc.
CROSSREFS
Sequence in context: A131724 A190995 A186830 * A107663 A298780 A231605
KEYWORD
nonn
AUTHOR
Zak Seidov, Nov 03 2006
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 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)