login
Smallest prime with same leading digits as 8^n.
1

%I #11 Dec 05 2013 19:55:14

%S 11,83,641,51203,40961,327689,2621447,20971529,167772161,1342177283,

%T 10737418247,85899345923,687194767367,54975581388811,43980465111043,

%U 3518437208883211,28147497671065609,22517998136852483

%N Smallest prime with same leading digits as 8^n.

%e a(3)=51203 because this is the smallest prime starting with 8^3=512.

%p for i from 1 to 40 do a := nextprime(8^i*10); b := 1; while(a-8^i*10^b>=10^b) do b := b+1; a := nextprime(8^i*10^b); end do; c[i] := a; end do:q := seq(c[i],i=1..40);

%Y Cf. A068846, A068847.

%K nonn,base

%O 0,1

%A _Amarnath Murthy_, Mar 10 2002

%E More terms from _Sascha Kurz_ and _Benoit Cloitre_, Mar 17 2002