A083804 a(1) = 1. If the (n-1)th partial concatenation is divisible by n then a(n) = 0. Otherwise, a(n) is the smallest positive number such that the n-th partial concatenation is divisible by n.
1, 2, 0, 0, 0, 0, 3, 2, 1, 10, 0, 8, 16, 8, 15, 20, 9, 4, 24, 20, 13, 28, 25, 28, 25, 30, 32, 20, 9, 10, 27, 2, 16, 10, 5, 36, 26, 10, 33, 20, 33, 46, 26, 28, 30, 50, 4, 48, 13, 50, 3, 12, 12, 6, 30, 64, 53, 56, 61, 60, 69, 36, 12, 8, 65, 74, 66, 4, 44, 20, 3, 76, 31, 62, 75, 6, 85, 56
Offset: 1
Examples
1,12,120,1200,12000,120000 1200003 etc. are multiples of 1,2,3,4,5,6 and 7 respectively.
Extensions
Corrected and extended by David Wasserman, Nov 30 2004