Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121806
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121806 Primes modulo three as two color partition maps { red, blue} of which there are four types:1-> {red, blue},2->{blue,red},3-> {red,red},4->{blue,blue}. +0
1
2, 2, 2, 4, 3, 2, 4, 2, 1, 3, 4, 1, 1, 1, 1, 2, 2, 3, 4, 2, 2, 2, 3, 2, 4, 1, 4, 2, 1, 1, 1, 1, 3, 2, 4, 3, 1, 2, 2, 2, 2, 1, 2, 2, 4, 1, 1, 4, 3, 1, 4, 3, 4, 2, 3, 2, 1, 1, 4, 3, 4, 1, 1, 3, 1, 3, 2, 2, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 4, 3, 1, 2, 2, 1, 1, 3, 1, 1, 4, 3, 1, 1, 1, 4, 3, 4, 2 (list; graph; listen)
OFFSET

1,1

COMMENT

There are long runs of "1"'s.

FORMULA

a(n) = {1 + Mod[Prime[2*n-1], 3],1 + Mod[Prime[2*n], 3]/. {2, 3} -> 1 /. {3, 2} -> 2 /. { 2, 2} -> 3 /. {3, 3} -> 4

MATHEMATICA

a = Partition[Table[1 + Mod[Prime[n], 3], {n, 3, 203}], 2] /. {2, 3} -> 1 /. {3, 2} -> 2 /. { 2, 2} -> 3 /. {3, 3} -> 4

CROSSREFS

Sequence in context: A053204 A064025 A054709 this_sequence A056944 A050493 A085454

Adjacent sequences: A121803 A121804 A121805 this_sequence A121807 A121808 A121809

KEYWORD

nonn,uned

AUTHOR

Roger Bagula (rlbagulatftn(AT)yahoo.com), Aug 29 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research