The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A037695 Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3,0. 0

%I

%S 1,6,27,108,433,1734,6939,27756,111025,444102,1776411,7105644,

%T 28422577,113690310,454761243,1819044972,7276179889,29104719558,

%U 116418878235,465675512940,1862702051761,7450808207046,29803232828187

%N Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3,0.

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (4,0,0,1,-4).

%F G.f.: ( x*(1+2*x+3*x^2) ) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - _R. J. Mathar_, Oct 11 2015

%t nn=30;With[{dgs=PadRight[{},nn,{1,2,3,0}]},Table[FromDigits[ Take[ dgs,n],4],{n,nn}]] (* _Harvey P. Dale_, Jun 13 2013 *)

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_

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.

Last modified July 31 15:51 EDT 2021. Contains 346374 sequences. (Running on oeis4.)