# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a056250 Showing 1-1 of 1 %I A056250 #21 Sep 11 2020 22:26:19 %S A056250 0,1,3,7,39,85,199,729,1459,23671,28629 %N A056250 Indices of primes in sequence defined by A(0) = 11, A(n) = 10*A(n-1) + 81 for n > 0. %C A056250 Numbers n such that (180*10^n - 81)/9 is prime. %C A056250 Numbers n such that digit 1 followed by n >= 0 occurrences of digit 9 followed by digit 1 is prime. %C A056250 Numbers corresponding to terms <= 1459 are certified primes. For larger numbers see P. De Geest, PDP Reference Table. %D A056250 Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467. %H A056250 Tony Crilly, A family of discrete spirals, The Mathematical Gazette (2020) Vol. 104, Issue 560, 215-224. %H A056250 Patrick De Geest, PDP Reference Table - 191. %H A056250 Makoto Kamada, Prime numbers of the form 199...991. %H A056250 Index entries for primes involving repunits. %F A056250 a(n) = A082703(n-1) - 2 for n > 1. %e A056250 191 is prime, hence 1 is a term. %t A056250 Select[Range[0, 2000], PrimeQ[(180 10^# - 81) / 9] &] (* _Vincenzo Librandi_, Nov 03 2014 *) %o A056250 (PARI) a=11;for(n=0,1500,if(isprime(a),print1(n,","));a=10*a+81) %o A056250 (PARI) for(n=0,1500,if(isprime((180*10^n-81)/9),print1(n,","))) %Y A056250 Cf. A000533, A002275, A068649, A082703. %K A056250 nonn,hard,more %O A056250 1,3 %A A056250 _Robert G. Wilson v_, Aug 18 2000 %E A056250 Additional comments from _Klaus Brockhaus_ and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 28 2004 %E A056250 Edited by _N. J. A. Sloane_, Jun 15 2007 %E A056250 More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008 %E A056250 Updated comments section and a link, by _Patrick De Geest_, Nov 02 2014 %E A056250 Edited by _Ray Chandler_, Nov 04 2014 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE