login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167679 Replace odd digits with 2 and even digits with 1. 2
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, 11, 12, 11, 12, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 21, 22, 21, 22, 21, 22, 21, 22, 21, 22, 11, 12, 11, 12, 11, 12, 11, 12, 11, 12, 21, 22, 21 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..72.

MATHEMATICA

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

CROSSREFS

Cf. A065031, A167677, A167678.

Sequence in context: A161275 A160979 A323287 * A051881 A338731 A081757

Adjacent sequences:  A167676 A167677 A167678 * A167680 A167681 A167682

KEYWORD

base,nonn

AUTHOR

Zak Seidov, Nov 09 2009

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 10:04 EDT 2021. Contains 343036 sequences. (Running on oeis4.)