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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078978 Sequence is S(infinity), where S(1)={1,2,3,4}, S(n+1)=S(n)S'(n) and S'(n) is obtained from S(n) by changing last term using the cyclic permutation 1->2->3->4->1. 1
1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 2, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 3, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 2, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 2, 1, 2, 3, 4, 1, 2, 3, 1, 1, 2, 3, 4, 1, 2, 3, 3, 1, 2, 3, 4, 1, 2, 3, 1, 1 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

FORMULA

Limit n ->infty sum(i=1, n, a(i))/n = 133/60; density of 1's is 19/60; density of 2's is 17/60; density of 3's is 4/15; density of 4's is 2/15.

EXAMPLE

Concatenate 1,2,3,4 gives 1,2,3,4,1,2,3,4 change 4 -> 1, hence 8 first terms are 1,2,3,4,1,2,3,1. Concatenate again: 1,2,3,4,1,2,3,1,1,2,3,4,1,2,3,1 change 1->2, hence 16 first terms are : 1,2,3,4,1,2,3,1,1,2,3,4,1,2,3,2

CROSSREFS

Cf. A010060, A078711.

Sequence in context: A118310 A073057 A084310 * A171171 A159957 A053840

Adjacent sequences:  A078975 A078976 A078977 * A078979 A078980 A078981

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Dec 19 2002

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 February 15 21:00 EST 2012. Contains 205852 sequences.