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!)
A033128 Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,0,1. 2

%I #19 Dec 14 2023 05:44:38

%S 1,10,101,1011,10110,101101,1011011,10110110,101101101,1011011011,

%T 10110110110,101101101101,1011011011011,10110110110110,

%U 101101101101101,1011011011011011,10110110110110110,101101101101101101,1011011011011011011,10110110110110110110

%N Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,0,1.

%F a(n) = 10*a(n-1) +a(n-3) -10*a(n-4). G.f.: x*(1+x^2)/((x-1) * (10*x-1) * (1+x+x^2)). - _R. J. Mathar_, Oct 05 2009

%F a(n) = floor((101/999)*10^n). - _Tani Akinari_, Jul 22 2015

%t nn=20;With[{c=PadRight[{},nn,{1,0,1}]},Table[FromDigits[ Take[ c,n]],{n,nn}]] (* _Harvey P. Dale_, Dec 30 2012 *)

%K nonn,base

%O 1,2

%A _Clark Kimberling_

%E More terms from _Harvey P. Dale_, Dec 30 2012

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 June 21 18:48 EDT 2024. Contains 373557 sequences. (Running on oeis4.)