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!)
A106836 First differences of A060833 and (from a(2) onward) also of A091067 and A255068. 7

%I #15 Feb 21 2015 15:35:50

%S 3,3,1,4,1,2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,

%T 4,1,2,1,4,3,1,1,3,1,2,1,1,3,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,4,3,1,4,1,

%U 2,1,4,3,1,1,3,1,2,1,4,3,1,4,1,2,1,1,3,3,1,1,3,1,2,1,1,3,3,1,4,1,2,1

%N First differences of A060833 and (from a(2) onward) also of A091067 and A255068.

%C From _Antti Karttunen_, Feb 20 2015: (Start)

%C Among the terms a(1) .. a(8192), 1 occurs 4095 times, 2 occurs 1024 times, 3 occurs 2048 times and 4 occurs 1025 times. No larger numbers can ever occur.

%C That these are the first differences of not just A091067 and A255068, but also of A060833 follows from _N. Sato_'s Feb 12 2013 comment in the latter that "For n > 1, n is in the sequence (A060833) if and only if A038189(n-1) = 1."

%C Also length of runs in A236840 and A255070.

%C (End)

%H Antti Karttunen, <a href="/A106836/b106836.txt">Table of n, a(n) for n = 1..8192</a>

%F a(1) = 3, and for n > 1: a(n) = A091067(n) - A091067(n-1). - _Antti Karttunen_, Feb 20 2015

%o (Scheme) (define (A106836 n) (if (= 1 n) 3 (- (A091067 n) (A091067 (- n 1)))))

%Y Cf. A060833, A088742, A091067, A106837, A236840, A255058, A255068, A255070.

%K nonn

%O 1,1

%A _Ralf Stephan_, May 03 2005

%E Name edited by _Antti Karttunen_, Feb 20 2015

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 April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)