login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A167677 Replace prime digits by 1 and non-prime digits by 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

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

MATHEMATICA

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

CROSSREFS

Cf. A065031, A167678, A167679.

Sequence in context: A035222 A136436 A143331 * A074293 A013949 A078880

Adjacent sequences:  A167674 A167675 A167676 * A167678 A167679 A167680

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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 21:30 EDT 2013. Contains 225649 sequences.