A185719 Final prime of the first member of A019518 that is divisible by 43^n.
211, 4051, 398261, 35912593, 5355284791
Offset: 1
Examples
The number 2357...199211 is the first term in A019518 divisible by 43^1, therefore a(1) = 211.
Programs
-
PARI
a(n,m=43)={ my(s=10,p=2); n=Mod(0,m^n); while(n=n*s+p,(p=nextprime(p+1))>s & s*=10) ;p} \\ M. F. Hasler, Feb 08 2011
Formula
a(n) = Min_{ prime(k) | A019518(k) = 0 (mod 43^n) }. - M. F. Hasler, Feb 08 2011