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

%I #14 Jun 28 2023 22:12:29

%S 3,23,161,1130,7912,55384,387691,2713839,18996873,132978114,930846800,

%T 6515927600,45611493203,319280452423,2234963166961,15644742168730,

%U 109513195181112,766592366267784,5366146563874491

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

%H Harvey P. Dale, <a href="/A037670/b037670.txt">Table of n, a(n) for n = 1..1000</a>

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

%F a(1)=3, a(2)=23, a(3)=161, a(4)=1130, a(n)=7*a(n-1)+a(n-3)-7*a(n-4) [From Harvey P. Dale, Oct 15 2011]

%F G.f.: (2*x+3)/(7*x^4-x^3-7*x+1). - _Harvey P. Dale_, Oct 15 2011

%t With[{nn=10},Table[FromDigits[Take[PadLeft[{},3nn,{3,2,0}],n],7], {n,3nn}]] (* or *) LinearRecurrence[{7,0,1,-7},{3,23,161,1130},30] (* _Harvey P. Dale_, Oct 15 2011 *)

%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 12:08 EDT 2024. Contains 371912 sequences. (Running on oeis4.)