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!)
A056252 Indices of primes in sequence defined by A(0) = 33, A(n) = 10*A(n-1) - 7 for n > 0. 2

%I #20 Jan 17 2019 13:44:05

%S 5,7,893,1523,3035,21155

%N Indices of primes in sequence defined by A(0) = 33, A(n) = 10*A(n-1) - 7 for n > 0.

%C Numbers n such that (290*10^n + 7)/9 is prime.

%C Numbers n such that the digit 3 followed by n >= 0 occurrences of the digit 2 followed by the digit 3 is prime.

%C Numbers corresponding to terms <= 3035 are certified primes.

%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#pdp323">PDP Reference Table - 323</a>.

%H Makoto Kamada, <a href="https://stdkmd.net/nrr/3/32223.htm#prime">Prime numbers of the form 322...223</a>.

%H <a href="/index/Pri#Pri_rep">Index entries for primes involving repunits</a>.

%F a(n) = A082705(n) - 2.

%e 3222223 is prime, hence 5 is a term.

%t Select[Range[0, 2000], PrimeQ[(290 10^# + 7) / 9] &] (* _Vincenzo Librandi_, Nov 03 2014 *)

%o (PARI) a=33;for(n=0,1600,if(isprime(a),print1(n,","));a=10*a-7)

%o (PARI) for(n=0,1600,if(isprime((290*10^n+7)/9),print1(n,",")))

%Y Cf. A000533, A002275, A082705.

%K nonn,hard,more

%O 1,1

%A _Robert G. Wilson v_, Aug 18 2000

%E Additional comments from _Klaus Brockhaus_ and Walter Oberschelp (oberschelp(AT)informatik.rwth-aachen.de), Dec 20 2004

%E Edited by _N. J. A. Sloane_, Apr 17 2007

%E More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 02 2008

%E Comments section updated and a link added by _Patrick De Geest_, Nov 02 2014

%E Edited by _Ray Chandler_, Nov 05 2014

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)