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!)
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; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..105.

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: A073057 A084310 A214063 * A322424 A309198 A256914

Adjacent sequences:  A078975 A078976 A078977 * A078979 A078980 A078981

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Dec 19 2002

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 June 18 01:16 EDT 2021. Contains 345098 sequences. (Running on oeis4.)