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!)
A167679 Replace odd digits with 2 and even digits with 1. 2

%I #4 Mar 31 2017 20:35:15

%S 1,2,1,2,1,2,1,2,1,2,21,22,21,22,21,22,21,22,21,22,11,12,11,12,11,12,

%T 11,12,11,12,21,22,21,22,21,22,21,22,21,22,11,12,11,12,11,12,11,12,11,

%U 12,21,22,21,22,21,22,21,22,21,22,11,12,11,12,11,12,11,12,11,12,21,22,21

%N Replace odd digits with 2 and even digits with 1.

%t Table[FromDigits[If[OddQ[ # ],2,1]&/@IntegerDigits[n]],{n,0,200}]

%Y Cf. A065031, A167677, A167678.

%K base,nonn

%O 0,2

%A _Zak Seidov_, Nov 09 2009

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 15 23:55 EDT 2024. Contains 371696 sequences. (Running on oeis4.)