If n==1 or mod(n,2)==0 or mod(n,5)==0 then -1, otherwise a(n) is the smallest nonnegative integer k such that the concatenation 1(k)2(k)3(k)...(k)n is a prime.
A082469
If n==1 or mod(n,2)==0 or mod(n,5)==0 then -1, otherwise a(n) is the smallest nonnegative integer k such that the concatenation 1(k)2(k)3(k)...(k)n is a prime.
Terms
- a(0) =-1a(1) =-1a(2) =1a(3) =-1a(4) =-1a(5) =-1a(6) =2a(7) =-1a(8) =2a(9) =-1a(10) =35a(11) =-1a(12) =1a(13) =-1a(14) =-1a(15) =-1a(16) =7a(17) =-1a(18) =147a(19) =-1a(20) =35a(21) =-1a(22) =49a(23) =-1a(24) =-1a(25) =-1a(26) =10a(27) =-1a(28) =131a(29) =-1
External references
- oeis: A082469