login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A185719
Final prime of the first member of A019518 that is divisible by 43^n.
0
211, 4051, 398261, 35912593, 5355284791
OFFSET
1,1
FORMULA
a(n) = Min_{ prime(k) | A019518(k) = 0 (mod 43^n) }. - M. F. Hasler, Feb 08 2011
EXAMPLE
The number 2357...199211 is the first term in A019518 divisible by 43^1, therefore a(1) = 211.
PROG
(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
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
James G. Merickel, Feb 05 2011
STATUS
approved