login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A153349 Period 6: repeat [1, 7, 4, 4, 7, 1]. 2
1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4, 4, 7, 1, 1, 7, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Also: the decimal expansion of 5287/30303. [R. J. Mathar, Jan 03 2009]

Terms of the simple continued fraction of 2026/(sqrt(4173845)-263). [Paolo P. Lava, Feb 17 2009]

LINKS

Table of n, a(n) for n=0..104.

Index entries for linear recurrences with constant coefficients, signature (1,-1,1,-1,1).

FORMULA

a(n) = (1/30)*{8*(n mod 6)+38*[(n+1) mod 6]-7*[(n+2) mod 6]+8*[(n+3) mod 6]+23*[(n+4) mod 6]-22*[(n+5) mod 6]}. [Paolo P. Lava, Dec 31 2008]

G.f.: (x^4+6*x^3-2*x^2+6*x+1)/((1-x)*(x^2-x+1)*(1+x+x^2)). a(n) = 4 + 3*A099837(n+2)/2 + 3*A010892(n+4)/2. [R. J. Mathar, Jan 03 2009]

From Wesley Ivan Hurt, Jun 23 2016: (Start)

a(n) = a(n-1) - a(n-2) + a(n-3) - a(n-4) + a(n-5) for n>4.

a(n) = (8 - 3*cos(n*Pi/3) - 3*cos(2*n*Pi/3) + sqrt(3)*sin(n*Pi/3) + 3*sqrt(3)*sin(2*n*Pi/3))/2. (End)

MAPLE

A153349:=n->[1, 7, 4, 4, 7, 1][(n mod 6)+1]: seq(A153349(n), n=0..100); # Wesley Ivan Hurt, Jun 23 2016

MATHEMATICA

PadRight[{}, 100, {1, 7, 4, 4, 7, 1}] (* Wesley Ivan Hurt, Jun 23 2016 *)

PROG

(MAGMA) &cat [[1, 7, 4, 4, 7, 1]^^20]; // Wesley Ivan Hurt, Jun 23 2016

CROSSREFS

Cf. A010892, A099837.

Sequence in context: A245074 A194474 A316161 * A210463 A154172 A021577

Adjacent sequences:  A153346 A153347 A153348 * A153350 A153351 A153352

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Dec 24 2008

EXTENSIONS

Extended by R. J. Mathar, Jan 03 2009

STATUS

approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 15 16:13 EDT 2019. Contains 324142 sequences. (Running on oeis4.)