A068651
Primes in which a string of 2's is sandwiched between two 9's.
Original entry on oeis.org
929, 9222229, 9222222222229
Offset: 1
A068649
Primes in which a string of 9's is sandwiched between two 1's.
Original entry on oeis.org
11, 191, 19991, 199999991, 19999999999999999999999999999999999999991, 199999999999999999999999999999999999999999999999999999999999999999999999999999999999991
Offset: 1
11 is also a member in which a string of 0 9's is there between two one's.
-
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);
-
Select[Table[FromDigits[Join[{1}, Table[9, {i}], {1}]], {i, 0, 200}], PrimeQ]
A056249
Indices of primes in sequence defined by A(0) = 11, A(n) = 10*A(n-1) + 71 for n > 0.
Original entry on oeis.org
0, 1, 7, 13, 39, 91, 127, 883, 9423, 14767, 19257, 31233
Offset: 1
181 is prime, hence 1 is a term.
- Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
-
Select[Range[0, 2000], PrimeQ[(170 10^# - 71) / 9] &] (* Vincenzo Librandi, Nov 03 2014 *)
-
a=11;for(n=0,1500,if(isprime(a),print1(n,","));a=10*a+71)
-
for(n=0,1500,if(isprime((170*10^n-71)/9),print1(n,",")))
Additional comments from
Klaus Brockhaus and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
Showing 1-3 of 3 results.
Comments