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

%I

%S 3,21,148,1039,7273,50912,356387,2494709,17462964,122240751,855685257,

%T 5989796800,41928577603,293500043221,2054500302548,14381502117839,

%U 100670514824873,704693603774112,4932855226418787

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

%H Vincenzo Librandi, <a href="/A037649/b037649.txt">Table of n, a(n) for n = 1..200</a>

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

%F a(n) = 7*a(n-1)+a(n-3)-7*a(n-4). G.f.: x*(x^2+3) / ((x-1)*(7*x-1)*(x^2+x+1)). - _Colin Barker_, Aug 09 2014

%t Module[{nn=20,c},c=PadRight[{},nn,{3,0,1}];Table[FromDigits[Take[c,n],7],{n,nn}]] (* _Harvey P. Dale_, Aug 09 2014 *)

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

Last modified November 27 03:56 EST 2021. Contains 349345 sequences. (Running on oeis4.)