%I #25 Jan 17 2019 13:44:05
%S 1,3,85,111,169,565,1687,8901,115809
%N Indices of primes in sequence defined by A(0) = 77, A(n) = 10*A(n-1) + 17 for n > 0.
%C Numbers n such that (710*10^n - 17)/9 is prime.
%C Numbers n such that digit 7 followed by n >= 0 occurrences of digit 8 followed by digit 7 is prime.
%C Numbers corresponding to terms <= 1687 are certified primes. For larger numbers see P. De Geest, PDP Reference Table.
%D Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
%H Patrick De Geest, <a href="http://www.worldofnumbers.com/deplat.htm#pdp787">PDP Reference Table - 787</a>.
%H Makoto Kamada, <a href="https://stdkmd.net/nrr/7/78887.htm#prime">Prime numbers of the form 788...887</a>.
%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>.
%F a(n) = A082715(n) - 2.
%e 787 is prime, hence 1 is a term.
%o (PARI) a=77;for(n=0,1700,if(isprime(a),print1(n,","));a=10*a+17)
%o (PARI) for(n=0,1700,if(isprime((710*10^n-17)/9),print1(n,",")))
%Y Cf. A000533, A002275, A082715.
%K nonn,hard,more
%O 1,2
%A _Robert G. Wilson v_, Aug 18 2000
%E Additional comments from _Klaus Brockhaus_ and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 03 2004
%E Edited by _N. J. A. Sloane_ at the suggestion of _Andrew S. Plewe_, Jun 05 2007
%E More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
%E One more term added from PDP table and comments section updated by _Patrick De Geest_, Nov 02 2014
%E Edited by _Ray Chandler_, Nov 05 2014
|