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!)
A167677 Replace prime digits with 1 and nonprime digits with 2. 2
2, 2, 1, 1, 2, 1, 2, 1, 2, 2, 22, 22, 21, 21, 22, 21, 22, 21, 22, 22, 12, 12, 11, 11, 12, 11, 12, 11, 12, 12, 12, 12, 11, 11, 12, 11, 12, 11, 12, 12, 22, 22, 21, 21, 22, 21, 22, 21, 22, 22, 12, 12, 11, 11, 12, 11, 12, 11, 12, 12, 22, 22, 21, 21, 22, 21, 22, 21, 22, 22, 12, 12, 11 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
Table[FromDigits[If[PrimeQ[ # ], 1, 2]&/@IntegerDigits[n]], {n, 0, 200}]
CROSSREFS
Sequence in context: A276729 A257629 A143331 * A278387 A351617 A074293
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)