login
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

%I #6 Dec 05 2013 19:56:15

%S 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,

%T 20,9,10,27,2,16,10,5,36,26,10,33,20,33,46,26,28,30,50,4,48,13,50,3,

%U 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

%N 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.

%e 1,12,120,1200,12000,120000 1200003 etc. are multiples of 1,2,3,4,5,6 and 7 respectively.

%Y Cf. A083805.

%Y Cf. A051883, A073894, A099552.

%K base,easy,nonn

%O 1,2

%A _Amarnath Murthy_, May 08 2003

%E Corrected and extended by _David Wasserman_, Nov 30 2004