|
Search: id:A068649
|
|
|
| A068649 |
|
Primes in which a string of 9's is sandwiched between two 1's. |
|
+0 3
|
|
| 11, 191, 19991, 199999991, 19999999999999999999999999999999999999991, 19999999999999999999999999999999999999999999999999999999999999999999999999999999\ 9999991
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
EXAMPLE
|
11 is also a member in which a string of 0 9's is there between two one's.
|
|
MAPLE
|
a := 1:b := 9:i := 1:for n from 0 to 500 do c := a+10*(10^n-1)/9*b+10^(n+1)*a; if(isprime(c)) then d[i] := c; i := i+1; end if; end do:q := seq(d[j], j=1..i-1);
|
|
MATHEMATICA
|
Select[Table[FromDigits[Join[{1}, Table[9, {i}], {1}]], {i, 0, 200}], PrimeQ]
|
|
CROSSREFS
|
Cf. A068645, A068646, A068647, A068648.
Sequence in context: A001408 A036936 A002195 this_sequence A158509 A072290 A112127
Adjacent sequences: A068646 A068647 A068648 this_sequence A068650 A068651 A068652
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 28 2002
|
|
EXTENSIONS
|
More terms from Sascha Kurz (sascha.kurz(AT)uni-bayreuth.de) and Harvey P. Dale (hpd1(AT)nyu.edu), Mar 19 2002.
The next term has 199 9s sandwiched between the starting and ending 1.
|
|
|
Search completed in 0.002 seconds
|