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!)
A037661 Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 3,1,0. 0

%I #11 Sep 05 2022 19:38:26

%S 3,16,80,403,2016,10080,50403,252016,1260080,6300403,31502016,

%T 157510080,787550403,3937752016,19688760080,98443800403,492219002016,

%U 2461095010080,12305475050403,61527375252016,307636876260080

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

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

%F G.f.: x*(3+x) / ( (x-1)*(5*x-1)*(1+x+x^2) ). - _R. J. Mathar_, Apr 30 2015

%F a(n) = 5*a(n-1) + a(n-3) - 5*a(n-4). - _Wesley Ivan Hurt_, Sep 05 2022

%t Module[{nn=30,c},c=PadRight[{},nn,{3,1,0}];Table[FromDigits[Take[c,n],5],{n,nn}]] (* _Harvey P. Dale_, Feb 19 2013 *)

%K nonn,base,easy

%O 1,1

%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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 07:16 EDT 2024. Contains 371905 sequences. (Running on oeis4.)