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!)
A175833 Periodic sequence: repeat 4,7,11. 2

%I #40 Dec 12 2023 07:40:07

%S 4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,

%T 11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,

%U 7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11,4,7,11

%N Periodic sequence: repeat 4,7,11.

%C Continued fraction expansion of (158+sqrt(27226))/78.

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

%F G.f.: (4 + 7*x + 11*x^2)/(1 - x^3).

%F a(n) = a(n-3) for n>2.

%F a(n) = 4*A010882(n) - A011655(n) = 4*(n + 1 - 3*floor(n/3)) - (1 - (-1)^(n-3*floor((n+1)/3)))/2.

%t PadRight[{},120,{4,7,11}] (* _Harvey P. Dale_, Jul 17 2013 *)

%o (Magma) &cat[[4,7,11]^^30];

%o (Maxima) makelist(concat(4,", ",7,", ",11), n, 0, 28); /* _Bruno Berselli_, Nov 13 2012 */

%o (Python) [4,7,11]*30 # _Bruno Berselli_, Dec 02 2016

%Y Cf. A010882, A011655.

%K nonn,easy

%O 0,1

%A _Bruno Berselli_, Sep 17 2010

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 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)