login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216478 a(n) is the least multiple of n which uses only digits 1 and 2. a(n) = -1 if no such multiple exists. 0

%I #3 Sep 10 2012 23:23:43

%S 1,2,12,12,-1,12,21,112,12222,-1,11,12,221,112,-1,112,221,12222,1121,

%T -1,21,22,12121,2112,-1,1222,21222,112,12122,-1,11222,2112,1122,1122,

%U -1,22212,111,12122,111111,-1,11111,12222,12212,2112,-1,122222,1222,2112,11221,-1,1122,21112,212,21222,-1,112,212211,12122,1121

%N a(n) is the least multiple of n which uses only digits 1 and 2. a(n) = -1 if no such multiple exists.

%Y Cf. A004290, A079339, A181060, A181061.

%K sign,base

%O 1,2

%A _V. Raman_, Sep 07 2012

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 07:22 EDT 2024. Contains 371922 sequences. (Running on oeis4.)