A088266 Smallest number that yields a prime when concatenated with A088265(k) for all k <= n.
2, 3, 3, 189, 210, 31296, 105441, 105441, 46814571, 665216481, 111581348556, 1199096907504
Offset: 1
Examples
a(1) = 2 since 211 is prime. a(4) = 189 since 18911, 18913, 18917 and 18919 are all prime.
Programs
-
PARI
A088266(n)=for(t=1,9e9,for(k=1,n,isprime(t*10^((k+7)\4)+A088265(k))||next(2));return(t)) \\ Only useful for n<9. - M. F. Hasler, Oct 15 2012
Extensions
More terms from David Wasserman, Jul 27 2005
a(10..12) from Don Reble, Oct 15 2012
a(10..12) confirmed by D. S. McNeil, Oct 16 2012
Comments