A101713 Indices of primes in sequence defined by A(0) = 43, A(n) = 10*A(n-1) - 27 for n > 0.
0, 2, 6, 9, 39, 418, 448, 1736, 2244, 3130, 3812, 5344, 5658, 5680, 8409, 9096, 11292, 21060
Offset: 1
Examples
4003 is prime, hence 2 is a term.
References
- Klaus Brockhaus and Walter Oberschelp, Zahlenfolgen mit homogenem Ziffernkern, MNU 59/8 (2006), pp. 462-467.
Links
- Makoto Kamada, Prime numbers of the form 400...003.
Programs
-
Mathematica
Select[Range[0,300],PrimeQ[40*10^#+3]&] (* Robert Price, Jul 17 2015 *)
-
PARI
a=43;for(n=0,1500,if(isprime(a),print1(n,","));a=10*a-27)
-
PARI
for(n=0,1500,if(isprime(40*10^n+3),print1(n,",")))
Formula
a(n) = A101397(n+1) - 1.
Extensions
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008
a(17)-a(18) from Kamada data by Ray Chandler, Apr 30 2015
Comments