login
Least positive multiple of n written in base 6 using only 0 and 1.
1

%I #13 Jan 02 2016 04:15:57

%S 1,10,10,100,11111,10,11,1000,100,111110,1101,100,10111,110,111110,

%T 10000,11001,100,101011,1111100,110,11010,1101,1000,111101,101110,

%U 1000,1100,1010111,111110,1001,100000,11010,110010,1111111111,100,101,1010110,101110,11111000

%N Least positive multiple of n written in base 6 using only 0 and 1.

%o (PARI) a(n) = {k=1; while (vecmax(digits(k*n, 6)) != 1, k++); subst(Pol(digits(k*n, 6)), x, 10);}

%K nonn,base

%O 1,2

%A _David W. Wilson_

%E a(29) corrected by _Sean A. Irvine_, Dec 26 2015

%E More terms from _Michel Marcus_, Dec 27 2015