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!)
A124643 Primes of the form p = k*10^m - 1 where k is 3, 6 or 9, such that p+2 is also a prime. 1
29, 59, 599, 2999, 8999, 29999999 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There are no more terms for m <= 34936. - Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 29 2007
LINKS
EXAMPLE
a(1)= because 3*10^1-1 = 29 and 3*10^1+1 = 31 are primes.
a(2)= because 6*10^1-1 = 59 and 6*10^1+1 = 61 are primes.
a(3)= because 6*10^2-1 = 599 and 6*10^2+1 = 601 are primes.
a(4)= because 3*10^3-1 = 2999 and 3*10^3+1 = 3001 are primes.
a(5)= because 9*10^3-1 = 8999 and 9*10^3+1 = 9001 are primes.
a(6)= because 3*10^7-1 = 29999999 and 3*10^7+1 = 30000001 are primes.
MATHEMATICA
Select[FromDigits/@Flatten[Table[PadRight[{k}, n, 9], {k, {2, 5, 8}}, {n, 2, 10}], 1], AllTrue[ #+{0, 2}, PrimeQ]&]//Union (* Harvey P. Dale, May 14 2024 *)
CROSSREFS
Sequence in context: A078948 A269263 A042676 * A042678 A042680 A286005
KEYWORD
more,nonn
AUTHOR
Lekraj Beedassy, Dec 21 2006
EXTENSIONS
Edited by N. J. A. Sloane, Jan 01 2007
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 30 22:25 EDT 2024. Contains 372980 sequences. (Running on oeis4.)