Smallest k such that the concatenation 123...(k-1) k (k-1)...321 ( a concatenation of natural numbers from 1 to k and back to 1) is a multiple of prime(n), or 0 if no such number exists.
A077187
Smallest k such that the concatenation 123...(k-1) k (k-1)...321 ( a concatenation of natural numbers from 1 to k and back to 1) is a multiple of prime(n), or 0 if no such number exists.
Terms
- a(0) =0a(1) =3a(2) =0a(3) =6a(4) =2a(5) =6a(6) =109a(7) =103a(8) =100001a(9) =1006a(10) =17a(11) =3a(12) =5a(13) =103a(14) =1000002a(15) =100012a(16) =1019a(17) =1002a(18) =1001a(19) =16a(20) =8a(21) =105a(22) =1036a(23) =104a(24) =1002a(25) =4a(26) =100000000009a(27) =100004a(28) =52a(29) =156
External references
- oeis: A077187