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!)
A068649 Primes in which a string of 9's is sandwiched between two 1's. 2
11, 191, 19991, 199999991, 19999999999999999999999999999999999999991, 199999999999999999999999999999999999999999999999999999999999999999999999999999999999991 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The next term has 199 9's sandwiched between the starting and ending 1.
LINKS
Patrick De Geest, PDP Reference Table - 191.
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
Sequence in context: A280070 A171553 A333759 * A158509 A072290 A258295
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 28 2002
EXTENSIONS
More terms from Sascha Kurz and Harvey P. Dale, Mar 19 2002
Edited by Ray Chandler, Nov 04 2014
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 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)